summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index f76a5e5..c84ff02 100644
--- a/init.el
+++ b/init.el
@@ -1212,6 +1212,9 @@
(lambda ()
(add-hook 'with-editor-pre-finish-hook
#'git-commit-save-message nil t)))
+
+ (add-hook 'git-commit-setup-hook #'git-commit-turn-on-flyspell)
+
(advice-add
'git-commit-prev-message :after
(lambda (&rest _) (goto-char (point-min)))