From 19092bed01a9cb1e8d4f9a6c08f5d232c0e4e502 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 19 Jan 2018 18:56:57 +0900 Subject: [PATCH] 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 --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index 8a1bfab..8e7c3a6 100644 --- a/emacs.el +++ b/emacs.el @@ -813,6 +813,9 @@ found, otherwise returns nil." (when (safe-require-or-eval 'git-commit) (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)