Fix #1444: exclude TRAMP/remote files from recentf
Causes hanging due to authentication attempts.
This commit is contained in:
parent
6ea000393f
commit
b68fb2aa11
1 changed files with 3 additions and 2 deletions
|
@ -107,8 +107,9 @@ detected.")
|
|||
recentf-max-saved-items 300
|
||||
recentf-filename-handlers '(file-truename abbreviate-file-name)
|
||||
recentf-exclude
|
||||
(list "\\.\\(?:gz\\|gif\\|svg\\|png\\|jpe?g\\)$" "^/tmp/" "^/ssh:"
|
||||
"\\.?ido\\.last$" "\\.revive$" "/TAGS$" "^/var/folders/.+$"
|
||||
(list #'file-remote-p "\\.\\(?:gz\\|gif\\|svg\\|png\\|jpe?g\\)$"
|
||||
"^/tmp/" "^/ssh:" "\\.?ido\\.last$" "\\.revive$" "/TAGS$"
|
||||
"^/var/folders/.+$"
|
||||
;; ignore private DOOM temp files
|
||||
(recentf-apply-filename-handlers doom-local-dir)))
|
||||
(unless noninteractive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue