From 3021215afa275cc11c6c3f7f0ad47fbce3060879 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Mon, 31 Jan 2022 15:54:33 +0530 Subject: [PATCH] Disable automatic recentf cleanup --- init.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index 5c9afc1..9777471 100644 --- a/init.org +++ b/init.org @@ -5204,8 +5204,11 @@ Potentially useful - https://www.draketo.de/software/emacs-javascript.html "\\.mp4$" "\\.etc" "\\.umstuff")) - :hook - (kill-emacs . recentf-cleanup)) + ;; I'd rather run cleanup manually, if ever required; running this + ;; automatically is a recipe for periodically losing your recentf + ;; entries when your disk happens to be unmounted. + ;; :hook (kill-emacs . recentf-cleanup) + ) #+END_SRC text size change