summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-09-30 21:53:19 -0400
committerKyle Meyer <kyle@kyleam.com>2014-09-30 21:53:19 -0400
commit1beb06032af10a17d168bae2505dd3290ee31691 (patch)
treedab08e8683ff98d23748c44bad6262c9523458de
parent8e71d3fbc959027e45e082862627cfa7d10b939f (diff)
downloademacs.d-1beb06032af10a17d168bae2505dd3290ee31691.tar.gz
Turn on flyspell in Magit commit buffer
This was deactivated in git-commit-mode.el (0670764).
-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)