Remove recentf-exclude setting

We don't need to be so judicious about what files are included in the
MRU list. If you open a file, any file, it'll be considered a recently
opened file.
This commit is contained in:
Henrik Lissner 2019-12-08 16:10:52 -05:00
parent bc89de4228
commit f251eb5ba9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 11 deletions

View file

@ -199,12 +199,7 @@ possible."
(setq recentf-save-file (concat doom-cache-dir "recentf") (setq recentf-save-file (concat doom-cache-dir "recentf")
recentf-auto-cleanup 'never recentf-auto-cleanup 'never
recentf-max-menu-items 0 recentf-max-menu-items 0
recentf-max-saved-items 200 recentf-max-saved-items 200)
recentf-exclude
(list "\\.\\(?:gz\\|gif\\|svg\\|png\\|jpe?g\\)$" "^/tmp/" "^/ssh:"
"\\.?ido\\.last$" "\\.revive$" "/TAGS$" "^/var/folders/.+$"
;; ignore private DOOM temp files
(concat "^" (recentf-apply-filename-handlers doom-local-dir))))
(add-hook! '(doom-switch-window-hook write-file-functions) (add-hook! '(doom-switch-window-hook write-file-functions)
(defun doom--recentf-touch-buffer-h () (defun doom--recentf-touch-buffer-h ()

View file

@ -376,11 +376,7 @@ Some commands of interest:
'error))) 'error)))
(after! projectile (after! projectile
(add-to-list 'projectile-globally-ignored-directories org-attach-id-dir)) (add-to-list 'projectile-globally-ignored-directories org-attach-id-dir)))
(after! recentf
(add-to-list 'recentf-exclude
(lambda (file) (file-in-directory-p file org-attach-id-dir)))))
(defun +org-init-centralized-exports-h () (defun +org-init-centralized-exports-h ()