Strip text properties from recentf entries
Causing tremendous bloat in recentf lists included with TRAMP paths.
This commit is contained in:
parent
0b1ab39a00
commit
f8ed1894e7
1 changed files with 5 additions and 3 deletions
|
@ -196,9 +196,11 @@ possible."
|
|||
(not (file-remote-p file)))
|
||||
(file-truename file)
|
||||
file))
|
||||
(setq recentf-filename-handlers '(doom--recent-file-truename abbreviate-file-name))
|
||||
|
||||
(setq recentf-save-file (concat doom-cache-dir "recentf")
|
||||
(setq recentf-filename-handlers
|
||||
'(substring-no-properties
|
||||
doom--recent-file-truename
|
||||
abbreviate-file-name)
|
||||
recentf-save-file (concat doom-cache-dir "recentf")
|
||||
recentf-auto-cleanup 'never
|
||||
recentf-max-menu-items 0
|
||||
recentf-max-saved-items 200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue