From f72bdba56ace892a815cffc173a559e4260e81d9 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 19 Oct 2023 21:11:43 -0400 Subject: fix recentf with tramp --- emacs/.config/emacs-kj/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emacs/.config/emacs-kj') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index b2f664e..6aff504 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -235,8 +235,7 @@ ;; For recent files. (setq recentf-max-saved-items 1000) -(setq recentf-keep (list (defun kj/recentf-keep (file) - t))) +(setq recentf-auto-cleanup 'never) (recentf-mode 1) (run-at-time nil (* 5 60) 'recentf-save-list) -- cgit v1.2.3