Explorar el Código

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

pull/1/head
10sr hace 11 años
padre
commit
626f632743
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      emacs.el

+ 1
- 2
emacs.el Ver fichero

@@ -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)))


Cargando…
Cancelar
Guardar