Browse Source

Disable auto fill in git-commit-mode

This is very very long line test: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe hoe
pull/15/head
10sr 6 years ago
parent
commit
19092bed01
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el View File

@@ -813,6 +813,9 @@ found, otherwise returns nil."


(when (safe-require-or-eval 'git-commit) (when (safe-require-or-eval 'git-commit)
(global-git-commit-mode 1)) (global-git-commit-mode 1))
(with-eval-after-load 'git-commit
(add-hook 'git-commit-setup-hook
'turn-off-auto-fill t))


(autoload-eval-lazily 'sl) (autoload-eval-lazily 'sl)




Loading…
Cancel
Save