Automatic
This commit is contained in:
parent
3b9a52afbe
commit
db2fbe8522
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue