about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-04T15·25+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-04T15·25+0100
commit3ba4112849fe0c8701d0cb844ec4fff308062963 (patch)
tree084677884ecb59c840e709421965eb6adb5f019a /emacs
parent48d9a7025362cba710cca5b2a94d6e9e7e262048 (diff)
Enable spell-checking during magit commit
This is another (overdue) change about which I'm quite excited. Add
spell-checking to my Git commit buffers. :)
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index f58bdeeee9ad..9d1ba7a54de5 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -127,7 +127,10 @@
 ;; git integration
 (use-package magit
   :config
-  (add-hook 'git-commit-setup-hook (lambda () (company-mode -1)))
+  (add-hook 'git-commit-setup-hook
+            (lambda ()
+              (company-mode -1)
+              (flyspell-mode 1)))
   (setq magit-display-buffer-function
         #'magit-display-buffer-fullframe-status-v1))