recentf: use file-truename on all entries + update recentf-exclude
This commit is contained in:
parent
6922fe11fe
commit
883c12f860
1 changed files with 2 additions and 3 deletions
|
@ -141,13 +141,12 @@ with functions that require it (like modeline segments)."
|
|||
(setq recentf-save-file (concat doom-etc-dir "recentf")
|
||||
recentf-max-menu-items 0
|
||||
recentf-max-saved-items 300
|
||||
recentf-filename-handlers '(file-truename)
|
||||
recentf-exclude
|
||||
(list "^/tmp/" "^/ssh:" "\\.?ido\\.last$" "\\.revive$" "/TAGS$"
|
||||
"^/var/folders/.+$"
|
||||
;; ignore private DOOM temp files (but not all of them)
|
||||
(concat "^" (replace-regexp-in-string
|
||||
(concat "@" (regexp-quote (system-name)))
|
||||
"@" (abbreviate-file-name doom-host-dir))))))
|
||||
(concat "^" (abbreviate-file-name (file-truename doom-local-dir))))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue