Save bookmarks on exit and when idle
This commit is contained in:
parent
6af600db1b
commit
2b26a782b7
7
init.org
7
init.org
|
@ -5181,6 +5181,13 @@ Potentially useful - https://www.draketo.de/software/emacs-javascript.html
|
|||
:hook (js2-mode-hook . skewer-mode))
|
||||
#+END_SRC
|
||||
|
||||
* bookmarks
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package bookmark
|
||||
:hook (kill-emacs . bookmark-save)
|
||||
:config (run-with-idle-timer 3 t #'bookmark-save))
|
||||
#+END_SRC
|
||||
|
||||
* recentf
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package recentf
|
||||
|
|
Loading…
Reference in New Issue