invalidate org-journal cache when running git-sync-all

This commit is contained in:
Evie Litherland-Smith 2024-03-20 17:28:24 +00:00
parent 226755daa8
commit 84998e80aa

View file

@ -37,7 +37,9 @@
(defun my/git-sync-all ()
"Run shell command `git-sync-all' asynchronously."
(interactive)
(async-shell-command "git-sync-all" "*git-sync-all*" "*git-sync-errors*"))
(async-shell-command "git-sync-all" "*git-sync-all*" "*git-sync-errors*")
(require 'org-journal)
(org-journal-invalidate-cache))
(keymap-global-set "C-c g s" #'my/git-sync-all)
(set-default-coding-systems 'utf-8)