tweak: add /run to recentf-exclude

This commit is contained in:
Henrik Lissner 2022-05-23 02:32:53 +02:00
parent 76e6dcd550
commit eb170a7a38
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -306,6 +306,9 @@ tell you about it. Very annoying. This prevents that."
(abbreviate-file-name (file-truename (tramp-file-name-localname tfile)))
file))
;; Anything in the runtime folders (i.e. $XDG_RUNTIME_DIR)
(add-to-list 'recentf-exclude "^/run")
;; Resolve symlinks, strip out the /sudo:X@ prefix in local tramp paths, and
;; abbreviate $HOME -> ~ in filepaths (more portable, more readable, & saves
;; space)