Strip text properties from recentf entries

Causing tremendous bloat in recentf lists included with TRAMP paths.
This commit is contained in:
Henrik Lissner 2019-12-30 17:07:39 -05:00
parent 0b1ab39a00
commit f8ed1894e7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)