[Emacs] Ignore elc files in recentf

This commit is contained in:
Lucien Cartier-Tilet 2023-01-23 10:44:44 +01:00
parent ab41c4810b
commit 883795148a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2881,7 +2881,6 @@ excluded files.
:straight (:build t :type built-in) :straight (:build t :type built-in)
:custom ((recentf-max-saved-items 2000)) :custom ((recentf-max-saved-items 2000))
:config :config
;; no Elfeed or native-comp files
(add-all-to-list 'recentf-exclude (add-all-to-list 'recentf-exclude
`(,(rx (* any) `(,(rx (* any)
(or "elfeed-db" (or "elfeed-db"
@ -2892,6 +2891,9 @@ excluded files.
".cache/") ".cache/")
(* any) (* any)
(? (or "html" "pdf" "tex" "epub"))) (? (or "html" "pdf" "tex" "epub")))
,(rx (* any)
".elc"
eol)
,(rx "/" ,(rx "/"
(or "rsync" "ssh" "tmp" "yadm" "sudoedit" "sudo") (or "rsync" "ssh" "tmp" "yadm" "sudoedit" "sudo")
(* any))))) (* any)))))