From 3ebbf6fe913675cfc68350e9fa7147edc9bdb15a Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 23 Aug 2021 16:54:27 +0100 Subject: Exclude elpa directory from recent files --- .emacs.d/lisp/init-editor.el | 1 + 1 file changed, 1 insertion(+) 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) -- cgit 1.4.1-2-gfad0