[Emacs] Update list of ignored files in recentf

Also simplify regex
This commit is contained in:
Lucien Cartier-Tilet 2022-04-05 17:07:49 +02:00
parent 57ad8b2fdc
commit b13b6f1e64
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2583,16 +2583,19 @@ 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
(add-to-list 'recentf-exclude (rx (or (seq (* print) (add-to-list 'recentf-exclude (rx (* any)
(or "elfeed-db" "eln-cache") (or "elfeed-db" "eln-cache")
(* print)) (* any)))
(seq (* print) (add-to-list 'recentf-exclude (rx (* any)
"conlanging/content" "/Mail/Sent"
(* print) (* any)))
(or "html" "pdf" "tex")) (add-to-list 'recentf-exclude (rx (* any)
(seq (* any) "conlanging/content"
"/Mail/Sent" (* any)
(* any)))))) (or "html" "pdf" "tex")))
(add-to-list 'recentf-exclude (rx (* any)
".cache/paru/"
(* any))))
#+end_src #+end_src
*** Screenshot *** Screenshot