From db2fbe852287aed91dc1967998e6c9327a165c87 Mon Sep 17 00:00:00 2001 From: aciceri Date: Tue, 29 Sep 2020 00:35:27 +0200 Subject: [PATCH] Automatic --- README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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