From 7554cc0e38d7aaf5702a9171a0508d753f342a7a Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Feb 2022 10:45:05 +0800 Subject: Update recentf config (emacs) --- .emacs.d/lisp/init-misc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index a8ac5a2..1772bbc 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -45,8 +45,9 @@ (use-package recentf :ensure nil - :config + :init (add-hook 'after-init-hook 'recentf-mode) + :config (setq-default recentf-max-saved-items 1024 recentf-exclude `("/tmp/"))) -- cgit v1.2.3