emacscollective / no-littering

Help keeping ~/.config/emacs clean
GNU General Public License v3.0
635 stars 69 forks source link

recentf exclude is not working #199

Closed jvillasante closed 1 year ago

jvillasante commented 1 year ago

The documentation mentions the following in order to exclude no-littering directories from recentf mechanism:

(require 'recentf)
(add-to-list 'recentf-exclude no-littering-var-directory)
(add-to-list 'recentf-exclude no-littering-etc-directory)

That was not working for me and I had to do the following instead:

(require 'recentf)
(add-to-list 'recentf-exclude (recentf-expand-file-name no-littering-var-directory))
(add-to-list 'recentf-exclude (recentf-expand-file-name no-littering-etc-directory))

Maybe the documentation should be updated or I'm missing something?

tarsius commented 1 year ago

That was caused by a backward incompatible change in Emacs 29.

Thanks for the report.