Remove unnecessary forward slashes in concat functions.

This commit is contained in:
syl20bnr 2015-03-23 21:57:42 -04:00
parent 676e8ddb72
commit 86f40dc20f
3 changed files with 8 additions and 6 deletions

View file

@ -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)))

View file

@ -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))))

View file

@ -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)))))