git-commit: no longer set value of two variables

The function on `git-commit-finish-query-functions' by default no longer
complains about "too long" summary lines (which is why we set this to
nil before) but it still complains about non-empty second line (which is
a good thing).

The default value of `git-commit-summary-max-length' has been increased
from 50 to 68, which is close enough to the 64 we used here before.
This commit is contained in:
Jonas Bernoulli 2016-10-15 14:35:28 +02:00
parent 8bc684ec7e
commit a5196ddae8

View File

@ -90,8 +90,6 @@
(use-package git-commit
:defer t
:config
(setq git-commit-finish-query-functions nil)
(setq git-commit-summary-max-length 64)
(remove-hook 'git-commit-setup-hook 'git-commit-setup-changelog-support)
(remove-hook 'git-commit-setup-hook 'git-commit-propertize-diff)
(remove-hook 'git-commit-setup-hook 'with-editor-usage-message)