diff options
author | Alan Pearce | 2013-09-29 20:21:54 +0100 |
---|---|---|
committer | Alan Pearce | 2013-09-29 20:21:54 +0100 |
commit | f9209f77714a65d29c9c3d7bad610de6360c8a13 (patch) | |
tree | 27c42c035f0a2cfb3b0b4e76e41e182a62408411 | |
parent | 873e1723a54845b58aae7feb1d48efce5f6d1fc8 (diff) | |
download | dotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.tar.lz dotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.tar.zst dotfiles-f9209f77714a65d29c9c3d7bad610de6360c8a13.zip |
Emacs: setup recentf-mode
-rw-r--r-- | emacs/init.el | 5 |
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)))) |