mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-25 19:04:17 -04:00
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:
parent
8bc684ec7e
commit
a5196ddae8
2
init.el
2
init.el
@ -90,8 +90,6 @@
|
|||||||
(use-package git-commit
|
(use-package git-commit
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
: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-setup-changelog-support)
|
||||||
(remove-hook 'git-commit-setup-hook 'git-commit-propertize-diff)
|
(remove-hook 'git-commit-setup-hook 'git-commit-propertize-diff)
|
||||||
(remove-hook 'git-commit-setup-hook 'with-editor-usage-message)
|
(remove-hook 'git-commit-setup-hook 'with-editor-usage-message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user