[defaults] Exclude custom-file
correctly in recentf
Entries of recentf-exclude must be expanded, e.g., `~` for the home directory won't work.
This commit is contained in:
parent
af53045448
commit
c9db028421
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@
|
|||
(add-to-list 'recentf-exclude (recentf-expand-file-name package-user-dir))
|
||||
(add-to-list 'recentf-exclude "COMMIT_EDITMSG\\'")
|
||||
(when custom-file
|
||||
(add-to-list 'recentf-exclude custom-file)))))
|
||||
(add-to-list 'recentf-exclude (recentf-expand-file-name custom-file))))))
|
||||
|
||||
(defun spacemacs-defaults/init-savehist ()
|
||||
(use-package savehist
|
||||
|
|
Reference in a new issue