[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
1 changed files with 13 additions and 10 deletions

View File

@ -2583,16 +2583,19 @@ excluded files.
:straight (:build t :type built-in)
:custom ((recentf-max-saved-items 2000))
:config
(add-to-list 'recentf-exclude (rx (or (seq (* print)
(or "elfeed-db" "eln-cache")
(* print))
(seq (* print)
"conlanging/content"
(* print)
(or "html" "pdf" "tex"))
(seq (* any)
"/Mail/Sent"
(* any))))))
(add-to-list 'recentf-exclude (rx (* any)
(or "elfeed-db" "eln-cache")
(* any)))
(add-to-list 'recentf-exclude (rx (* any)
"/Mail/Sent"
(* any)))
(add-to-list 'recentf-exclude (rx (* any)
"conlanging/content"
(* any)
(or "html" "pdf" "tex")))
(add-to-list 'recentf-exclude (rx (* any)
".cache/paru/"
(* any))))
#+end_src
*** Screenshot