Bläddra i källkod

emacs.el: save recentf list when idle for 5 secs

pull/1/head
10sr 11 år sedan
förälder
incheckning
626f632743
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. +1
    -2
      emacs.el

+ 1
- 2
emacs.el Visa fil

@@ -1330,8 +1330,7 @@ If called intearctively, find word at point."
t) ; save to file immediately after adding file to recentf list
(add-hook 'kill-emacs-hook
'recentf-load-list)
(add-hook 'recentf-mode-hook
'recentf-save-list)
(run-with-idle-timer 5 t 'recentf-save-list)
;; (add-hook 'find-file-hook
;; (lambda ()
;; (recentf-add-file default-directory)))


Laddar…
Avbryt
Spara