From bd71d692966ea68545bb0181f5644872fbcb3147 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 9 Dec 2018 12:38:57 -0500 Subject: git-commit-setup-hook: Add git-commit-turn-on-flyspell I should have done this in d83dd13 (Drop km/git-commit-turn-on-flyspell, 2018-08-25). --- init.el | 3 +++ 1 file changed, 3 insertions(+) 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))) -- cgit v1.2.3