all repos — archive/dotfiles @ f9209f77714a65d29c9c3d7bad610de6360c8a13

Superseded by nixfiles

Emacs: setup recentf-mode
Alan Pearce alan@alanpearce.co.uk
Sun, 29 Sep 2013 20:21:54 +0100
commit

f9209f77714a65d29c9c3d7bad610de6360c8a13

parent

873e1723a54845b58aae7feb1d48efce5f6d1fc8

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -413,6 +413,11 @@ (delete-file filename)           (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))))