parent
60df67de34
commit
f96c666460
1 changed files with 4 additions and 2 deletions
|
@ -306,8 +306,10 @@ tell you about it. Very annoying. This prevents that."
|
||||||
(abbreviate-file-name (file-truename (tramp-file-name-localname tfile)))
|
(abbreviate-file-name (file-truename (tramp-file-name-localname tfile)))
|
||||||
file))
|
file))
|
||||||
|
|
||||||
;; Anything in the runtime folders (i.e. $XDG_RUNTIME_DIR)
|
;; Anything in runtime folders
|
||||||
(add-to-list 'recentf-exclude "^/run")
|
(add-to-list 'recentf-exclude
|
||||||
|
(concat "^" (regexp-quote (or (getenv "XDG_RUNTIME_DIR")
|
||||||
|
"/run"))))
|
||||||
|
|
||||||
;; Resolve symlinks, strip out the /sudo:X@ prefix in local tramp paths, and
|
;; Resolve symlinks, strip out the /sudo:X@ prefix in local tramp paths, and
|
||||||
;; abbreviate $HOME -> ~ in filepaths (more portable, more readable, & saves
|
;; abbreviate $HOME -> ~ in filepaths (more portable, more readable, & saves
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue