Update
authorFrancois Fleuret <francois@fleuret.org>
Sun, 11 Nov 2018 20:46:13 +0000 (21:46 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Sun, 11 Nov 2018 20:46:13 +0000 (21:46 +0100)
emacs.el

index 6dc9356..31bf00b 100644 (file)
--- a/emacs.el
+++ b/emacs.el
@@ -1223,7 +1223,7 @@ goback argument, go back where we were."
 (load "vc-git")
 
 (defun ff/git-pull-push (universal) (interactive "P")
-       (when universal (async-shell-command "git commit -a -m \"Update\""))
+       (when universal (sync-shell-command "git commit -a -m \"Update\""))
        (message "git pull / push ...")
        (async-shell-command "git pull && git push" nil)
        )