diff --git a/README.org b/README.org index 20596b0..077bd19 100644 --- a/README.org +++ b/README.org @@ -564,7 +564,10 @@ automatically committed and pushed on a remote repository. #+begin_src emacs-lisp (use-package org-journal :init (progn - (add-hook 'after-save-hook (lambda () (async-shell-command "git add * && git commit -m 'Automatic' && git push origin master"))) + (add-hook 'after-save-hook + (lambda () + (async-shell-command "git add * && git commit -m 'Automatic' && git push origin master")) + nil 'make-it-local)) ;; Change default prefix key; needs to be set before loading org-journal (setq org-journal-prefix-key "C-x j")) :config