summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-git.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index ae34bab..1fca8cd 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -82,6 +82,9 @@ START-POINT set to the current branch.
(setq vc-follow-symlinks t)
+(after 'git-commit-mode
+ (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell))
+
(after 'magit
(add-hook 'magit-find-file-hook 'view-mode)