summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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))))