From f9209f77714a65d29c9c3d7bad610de6360c8a13 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 29 Sep 2013 20:21:54 +0100 Subject: Emacs: setup recentf-mode --- emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 8141a2ff..67167ec3 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -413,6 +413,11 @@ Values: `desktop', `server', `laptop'") (kill-buffer buffer) (message "File '%s' successfully removed" filename)))))) +(use-package recentf + :init (progn (setq recentf-auto-cleanup 'never + recentf-save-file (expand-file-name "recentf" user-emacs-directory)) + (recentf-mode 1))) + (use-package saveplace :config (progn (setq-default save-place t) (setq save-place-file (expand-file-name ".saveplace" user-emacs-directory)))) -- cgit 1.4.1