Emacs: Set fill-column for git-commits to 72.

It's required for Gentoo repos and recommended for emails.
This commit is contained in:
tastytea 2020-04-20 21:28:19 +02:00
parent c3059efa7b
commit e26127da8d
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@
;; Git integration.
(use-package git-commit
:defer 2)
:defer 2
:config (defun my/set-git-commit-fill-column ()
(customize-set-variable 'fill-column 72))
:hook (git-commit-mode . my/set-git-commit-fill-column))
(unless slow-computer
(use-package magit