diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-02-15 01:50:56 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-02-15 01:50:56 -0500 |
commit | 67e3f196e90580e49b25e665006a3352d8da346f (patch) | |
tree | bd5fd13e3814936c68ba2eb77a7bc63d0e79f094 | |
parent | 5a5e8ca6140ad775e030c422bcd7dcab10dc7d11 (diff) | |
download | emacs.d-67e3f196e90580e49b25e665006a3352d8da346f.tar.gz |
Advice git-commit-prev-message to go to bob
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -996,7 +996,12 @@ (lambda () (add-hook 'with-editor-pre-finish-hook #'git-commit-save-message nil t))) - (add-hook 'git-commit-setup-hook #'km/git-commit-turn-on-flyspell)) + (add-hook 'git-commit-setup-hook #'km/git-commit-turn-on-flyspell) + + (advice-add + 'git-commit-prev-message :after + (lambda (&rest _) (goto-char (point-min))) + '((name . "go-to-bob")))) (use-package orgit :load-path "~/src/emacs/orgit/" |