Exclude elpa directory from recent files

This commit is contained in:
David Morgan 2021-08-23 16:54:27 +01:00
parent bc63e2e1a0
commit 3ebbf6fe91
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
(use-package recentf
:config
(recentf-mode +1)
(add-to-list 'recentf-exclude (expand-file-name "elpa" user-emacs-directory))
:custom
(recentf-save-file (expand-file-name "recentf" save-dir))
(recentf-max-saved-items 300)