Don't call org-journal-invalidate-cache in my/git-sync-all

This commit is contained in:
Evie Litherland-Smith 2024-05-31 14:59:01 +01:00
parent eb73cf790a
commit 81c9683180

View file

@ -51,9 +51,7 @@
(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*")
(when (require 'org-journal nil :noerror)
(org-journal-invalidate-cache)))
(async-shell-command "git-sync-all" "*git-sync-all*" "*git-sync-errors*"))
(keymap-global-set "C-c g s" #'my/git-sync-all)
(set-default-coding-systems 'utf-8)