From b8930c584bddea54c4bb933d94a67185c916d63a Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 22 Feb 2023 11:59:55 -0500 Subject: Keep all recent files --- emacs/.config/emacs-kj/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 469293e..bf3c6c6 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -212,6 +212,8 @@ (recentf-mode 1) (run-at-time nil (* 5 60) 'recentf-save-list) (setq recentf-max-saved-items 1000) +(setq recentf-keep (defun kj/recentf-keep (file) + t)) (setq global-mark-ring-max 500 mark-ring-max 16) @@ -722,6 +724,7 @@ ("M-h" . ace-mc-add-single-cursor))) ;; Disable VC over tramp. +(setq-default vc-handled-backends nil) (defun kj/vc-off-if-remote () (if (file-remote-p (buffer-file-name)) (setq-local vc-handled-backends nil))) -- cgit v1.2.3