From 8cdf1921592825b20e7f4bb005b418963356e135 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 26 Mar 2023 20:19:28 +0200 Subject: emacs: clean up recentf list after idle timeout, not at startup --- user/emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 066c1acf..83182439 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -231,6 +231,7 @@ With two prefix arguments, write out the day and month name." (use-package hydra :defer 2) +(custom-set-variables '(recentf-auto-cleanup 1800)) (recentf-mode +1) (use-package savehist :init (savehist-mode +1) -- cgit 1.4.1