Don't call org-journal-invalidate-cache in my/git-sync-all
This commit is contained in:
parent
eb73cf790a
commit
81c9683180
4
init.el
4
init.el
|
@ -51,9 +51,7 @@
|
||||||
(defun my/git-sync-all ()
|
(defun my/git-sync-all ()
|
||||||
"Run shell command `git-sync-all' asynchronously."
|
"Run shell command `git-sync-all' asynchronously."
|
||||||
(interactive)
|
(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*"))
|
||||||
(when (require 'org-journal nil :noerror)
|
|
||||||
(org-journal-invalidate-cache)))
|
|
||||||
(keymap-global-set "C-c g s" #'my/git-sync-all)
|
(keymap-global-set "C-c g s" #'my/git-sync-all)
|
||||||
|
|
||||||
(set-default-coding-systems 'utf-8)
|
(set-default-coding-systems 'utf-8)
|
||||||
|
|
Loading…
Reference in a new issue