Browse Source

Fix git-commit setup

master
10sr 4 years ago
parent
commit
0bdf182248
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el View File

@@ -1539,7 +1539,9 @@ Otherwize hook it."


(when (fboundp 'global-git-commit-mode) (when (fboundp 'global-git-commit-mode)
(add-hook 'after-first-visit-hook (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 (with-eval-after-load 'git-commit
(add-hook 'git-commit-setup-hook (add-hook 'git-commit-setup-hook
'turn-off-auto-fill t)) 'turn-off-auto-fill t))


Loading…
Cancel
Save