Remove unnecessary forward slashes in concat functions.
This commit is contained in:
parent
676e8ddb72
commit
86f40dc20f
|
@ -120,7 +120,7 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(defun spacemacs/rcirc-notify-beep (msg)
|
||||
"Beep when notifying."
|
||||
(let ((player "mplayer")
|
||||
(sound (concat user-emacs-directory "/site-misc/startup.ogg")))
|
||||
(sound (concat user-emacs-directory "site-misc/startup.ogg")))
|
||||
(when (and (executable-find player)
|
||||
(file-exists-p sound)))
|
||||
(start-process "beep-process" nil player sound)))
|
||||
|
|
|
@ -21,7 +21,8 @@ which require an initialization must be listed explicitly in the list.")
|
|||
;; define excplicitly the hooks here
|
||||
(add-hook 'c++-mode-hook 'ycmd-mode)
|
||||
(setq-default ycmd-global-config
|
||||
(expand-file-name (concat user-emacs-directory "/contrib/ycmd/global_conf.py")))
|
||||
(expand-file-name (concat user-emacs-directory
|
||||
"contrib/ycmd/global_conf.py")))
|
||||
(evil-leader/set-key-for-mode 'c++-mode
|
||||
"mgg" 'ycmd-goto
|
||||
"mgG" 'ycmd-goto-imprecise))))
|
||||
|
|
|
@ -427,8 +427,9 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(use-package bookmark
|
||||
:defer t
|
||||
:init
|
||||
(setq bookmark-default-file (concat user-emacs-directory "/bookmarks") ; keep my ~/ clean
|
||||
bookmark-save-flag 1))) ; autosave each change
|
||||
(setq bookmark-default-file (concat user-emacs-directory "bookmarks")
|
||||
;; autosave each change
|
||||
bookmark-save-flag 1)))
|
||||
|
||||
(defun spacemacs/init-buffer-move ()
|
||||
(use-package buffer-move
|
||||
|
@ -2391,9 +2392,9 @@ displayed in the mode-line.")
|
|||
(recentf-track-opened-file))))
|
||||
:config
|
||||
(progn
|
||||
(setq recentf-exclude `(,(concat user-emacs-directory ".cache")))
|
||||
(setq recentf-exclude '(spacemacs-cache-directory))
|
||||
(add-to-list 'recentf-exclude "COMMIT_EDITMSG\\'")
|
||||
(setq recentf-save-file (concat spacemacs-cache-directory "/recentf"))
|
||||
(setq recentf-save-file (concat spacemacs-cache-directory "recentf"))
|
||||
(setq recentf-max-saved-items 100)
|
||||
(setq recentf-auto-cleanup 'never)
|
||||
(setq recentf-auto-save-timer (run-with-idle-timer 600 t 'recentf-save-list)))))
|
||||
|
|
Loading…
Reference in a new issue