From 883795148ac21ce3be778a651837cddb6a6c52e0 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 23 Jan 2023 10:44:44 +0100 Subject: [PATCH] [Emacs] Ignore elc files in recentf --- org/config/emacs.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index e6e498b..5be9ae7 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -2881,7 +2881,6 @@ excluded files. :straight (:build t :type built-in) :custom ((recentf-max-saved-items 2000)) :config - ;; no Elfeed or native-comp files (add-all-to-list 'recentf-exclude `(,(rx (* any) (or "elfeed-db" @@ -2892,6 +2891,9 @@ excluded files. ".cache/") (* any) (? (or "html" "pdf" "tex" "epub"))) + ,(rx (* any) + ".elc" + eol) ,(rx "/" (or "rsync" "ssh" "tmp" "yadm" "sudoedit" "sudo") (* any)))))