Catch require org-journal before clearing cache
This commit is contained in:
parent
c21d6f90f4
commit
9525d51987
4
init.el
4
init.el
|
@ -41,8 +41,8 @@
|
||||||
"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*")
|
||||||
(require 'org-journal)
|
(when (require 'org-journal nil :noerror)
|
||||||
(org-journal-invalidate-cache))
|
(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