diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-01-18 19:31:42 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-01-18 19:31:42 -0500 |
commit | a3792a4d84e75a56228e34385fb05eca12bbe01e (patch) | |
tree | 15e3ed8d603d95f49b1b8132c9a013da2b452398 /init | |
parent | c2797b2f2f9af2111e911c37fd7779ab347f4baf (diff) | |
download | emacs.d-a3792a4d84e75a56228e34385fb05eca12bbe01e.tar.gz |
Update km/magit-auto-commit
`magit-with-refresh' no longer defined.
Diffstat (limited to 'init')
-rw-r--r-- | init/km-git.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init/km-git.el b/init/km-git.el index a80feed..5285f47 100644 --- a/init/km-git.el +++ b/init/km-git.el @@ -5,10 +5,10 @@ (require 'magit) (defun km/magit-auto-commit () + "Commit all changes with \"auto\" commit message. +Useful for non-source code repos (e.g., Org mode note files)." (interactive) - (save-window-excursion - (magit-with-refresh - (shell-command "git --no-pager commit --all --message=auto")))) + (magit-run-git "commit" "--all" "--message=auto")) (define-key magit-status-mode-map (kbd "C-c C-u") 'km/magit-auto-commit) |