From 65245bfc21380f28c54c95c4f4c6860c9decaa61 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 7 May 2018 18:11:13 +0200 Subject: [PATCH] recentf-auto-cleanup = 60 Cleanup would cause tremendous slowdowns on startup if files in its list didn't exist. --- core/core-editor.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-editor.el b/core/core-editor.el index 9029ab4e9..ed13be421 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -102,6 +102,7 @@ fundamental-mode) for performance sake." :hook (doom-init . recentf-mode) :config (setq recentf-save-file (concat doom-cache-dir "recentf") + recentf-auto-cleanup 60 recentf-max-menu-items 0 recentf-max-saved-items 300 recentf-filename-handlers '(file-truename)