Procházet zdrojové kódy

do not save recentf list when kill emacs

pull/1/head
10sr před 11 roky
rodič
revize
6e906cf434
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Zobrazit soubor

@@ -1168,10 +1168,11 @@ delete; o: select other; j, l: enlarge; h, k: shrink; q: quit."
(add-hook 'find-file-hook
'recentf-save-list
t) ; save to file immediately after adding file to recentf list
(remove-hook 'kill-emacs-hook
'recentf-save-list)
;; (add-hook 'find-file-hook
;; (lambda ()
;; (recentf-add-file default-directory)))
;; (add-to-list 'recentf-filename-handlers 'abbreviate-file-name)
(and (dllib-if-unfound
"https://raw.github.com/10sr/emacs-lisp/master/recentf-show.el"
t)


Načítá se…
Zrušit
Uložit