about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-23 16:54:27 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-23 16:54:27 +0100
commit3ebbf6fe913675cfc68350e9fa7147edc9bdb15a (patch)
treeb80e77fff3eb92caf704f098d01c3864b1c95eb1
parentbc63e2e1a09c9c0bb2efec37272e6e36727aac5a (diff)
downloaddotfiles-3ebbf6fe913675cfc68350e9fa7147edc9bdb15a.tar.gz
Exclude elpa directory from recent files
-rw-r--r--.emacs.d/lisp/init-editor.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 22daf5a..c1581ee 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -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)