Save bookmarks on exit and when idle

This commit is contained in:
contrapunctus 2022-01-31 15:54:15 +05:30
parent 6af600db1b
commit 2b26a782b7
1 changed files with 7 additions and 0 deletions

View File

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