aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 4e7fc22..79c332f 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -266,6 +266,18 @@ No backups
(setq-default auto-save-default nil)
#+END_SRC
+But at least save the list of recently open files.
+
+#+BEGIN_SRC elisp
+(require 'recentf)
+
+(recentf-mode 1)
+(global-set-key "\C-x\ \C-r" 'recentf-open-files)
+
+; Save the list every 5 minutes
+(run-at-time nil (* 5 60) 'recentf-save-list)
+#+END_SRC
+
No welcome screen
#+BEGIN_SRC elisp