From 3ba4112849fe0c8701d0cb844ec4fff308062963 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 4 Oct 2020 16:25:15 +0100 Subject: 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. :) --- emacs/.emacs.d/wpc/wpc-misc.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/wpc/wpc-misc.el') 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)) -- cgit 1.4.1