From b015f1994205520c7107fa2acfac20abc46a7031 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Sun, 7 Nov 2021 16:57:16 +0530 Subject: [PATCH] [recentf] use locate-user-emacs-file for recentf-save-file --- init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.org b/init.org index 2912dcc..f84d2d6 100644 --- a/init.org +++ b/init.org @@ -3810,7 +3810,7 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel (setq recentf-auto-cleanup 'never recentf-max-menu-items 500 recentf-max-saved-items 1000 - recentf-save-file "/home/anon/.emacs.d/recentf" + recentf-save-file (locate-user-emacs-file "recentf") recentf-exclude '("\\.html\\(\\.orig\\)?$" "\\.jpe?g$" "\\.png$"