From 84998e80aac29a83a491600ac53d1aa98ef1ad0b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 20 Mar 2024 17:28:24 +0000 Subject: [PATCH] invalidate org-journal cache when running git-sync-all --- config/defaults.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/defaults.org b/config/defaults.org index 7592b93..9026140 100644 --- a/config/defaults.org +++ b/config/defaults.org @@ -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)