From d5cf97d888249c80e1caed70b7d376a1b421ea01 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 6 Mar 2022 22:16:15 +0100 Subject: [PATCH] [Emacs] Update list of ignored files in recentf --- org/config/emacs.org | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index cc0c4de..6143da6 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -2640,11 +2640,15 @@ excluded files. #+begin_src emacs-lisp (use-package recentf :straight (:build t :type built-in) - :custom ((recentf-max-saved-items 200)) + :custom ((recentf-max-saved-items 2000)) :config - (add-to-list 'recentf-exclude (rx (* print) - (or "elfeed-db" "eln-cache") - (* print)))) + (add-to-list 'recentf-exclude (rx (or (seq (* print) + (or "elfeed-db" "eln-cache") + (* print)) + (seq (* print) + "conlanging/content" + (* print) + (or "html" "pdf" "tex")))))) #+end_src *** Screenshot