summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-03-26 20:19:28 +0200
committerAlan Pearce2023-03-26 20:19:28 +0200
commit8cdf1921592825b20e7f4bb005b418963356e135 (patch)
tree16e8c3fb315594f81d9652daa52a6f3e28ffa7ba
parent9bbda3055fd878b237a31d95c0c8c72be279fced (diff)
downloadnixfiles-8cdf1921592825b20e7f4bb005b418963356e135.tar.lz
nixfiles-8cdf1921592825b20e7f4bb005b418963356e135.tar.zst
nixfiles-8cdf1921592825b20e7f4bb005b418963356e135.zip
emacs: clean up recentf list after idle timeout, not at startup
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
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)