Table of contents for fic exports, save elfeed db, automatically track dwpost

This commit is contained in:
trémeur 2023-02-04 14:54:41 +00:00
parent a636884879
commit 5842a69d22
6 changed files with 43 additions and 15 deletions

View file

@ -338,6 +338,18 @@ This apparently deletes really old entries from the database.
:remove 'unread))
#+END_SRC
Save elfeed state properly when exiting Emacs.
#+BEGIN_SRC emacs-lisp
(defun save-if-elfeed ()
(if (get-buffer "*elfeed-search*")
(progn
(elfeed-db-save)
(message "Elfeed DB saved"))))
(add-hook 'kill-emacs-hook 'save-if-elfeed)
#+END_SRC
** =git-gutter=
Shows, or at least purports to show, =git diff= in the left margin if the file is being tracked by =git=. The colours dont seem to work properly with the current theme.