diff options
author | Tom Willemse | 2014-04-16 00:09:18 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-16 00:17:54 +0200 |
commit | b48b475cee5fb38d0896a24a67bb872495a1d6f5 (patch) | |
tree | 45377c4dc90da5533e2646e5e3403605d29a3813 /.emacs.d/init.el | |
parent | dc7df6e082d94597d56cebade7309aab8d1db75e (diff) | |
download | emacs-b48b475cee5fb38d0896a24a67bb872495a1d6f5.tar.gz emacs-b48b475cee5fb38d0896a24a67bb872495a1d6f5.zip |
Enable checking of git commit messages
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 54d55f1..a28bd8e 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1135,7 +1135,8 @@ from myaethon2.core.decorators import ( (stante-after flycheck (mapc (lambda (c) (delq c flycheck-checkers)) '(python-pylint python-pyflakes)) - (setf flycheck-highlighting-mode 'columns)) + (setf flycheck-highlighting-mode 'columns) + (require 'flycheck-commit-check)) (stante-after geiser-repl (setq geiser-repl-history-filename "~/.emacs.d/geiser-history")) @@ -1305,7 +1306,7 @@ from myaethon2.core.decorators import ( (oni:add-function-to-hooks #'flycheck-mode 'perl-mode-hook 'rst-mode-hook 'ruby-mode-hook 'rust-mode-hook - 'sh-mode-hook 'texinfo-mode-hook) + 'sh-mode-hook 'texinfo-mode-hook 'git-commit-mode-hook) (oni:add-function-to-hooks #'oni:make-readable 'Info-mode-hook 'gnus-article-mode-hook 'gnus-group-mode-hook |