summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-09-29 20:21:54 +0100
committerAlan Pearce2013-09-29 20:21:54 +0100
commitf9209f77714a65d29c9c3d7bad610de6360c8a13 (patch)
tree27c42c035f0a2cfb3b0b4e76e41e182a62408411 /emacs
parent873e1723a54845b58aae7feb1d48efce5f6d1fc8 (diff)
downloaddotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.tar.lz
dotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.tar.zst
dotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.zip
Emacs: setup recentf-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8141a2f..67167ec 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))))