From 0bdf182248a968d5147620c850dc6886cf3c19cc Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 22 Jan 2020 21:31:26 +0900 Subject: [PATCH] Fix git-commit setup --- emacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 1915442..5e4eb9b 100644 --- a/emacs.el +++ b/emacs.el @@ -1539,7 +1539,9 @@ Otherwize hook it." (when (fboundp 'global-git-commit-mode) (add-hook 'after-first-visit-hook - 'global-git-commit-mode)) + 'global-git-commit-mode) + (add-hook 'after-first-visit-hook + 'git-commit-setup-check-buffer)) (with-eval-after-load 'git-commit (add-hook 'git-commit-setup-hook 'turn-off-auto-fill t))