Write commit messages with git-commit-mode in style ^_^

This commit is contained in:
2013-10-20 18:36:29 +01:00
parent c77f3d505c
commit 29d365f7b0
3 changed files with 11 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
;; Write commit messages in style
(defun customizations-for-git-commit-mode ()
(interactive)
(flyspell-mode)
(linum-mode t)
(auto-fill-mode)
(subword-mode)
(fci-mode))
(add-hook 'git-commit-mode-hook 'customizations-for-git-commit-mode)