summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el
index e6ff37e..7eb4d82 100644
--- a/init.el
+++ b/init.el
@@ -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/"