From b48b475cee5fb38d0896a24a67bb872495a1d6f5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 16 Apr 2014 00:09:18 +0200 Subject: Enable checking of git commit messages --- .emacs.d/init.el | 5 +++-- 1 file 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 -- cgit v1.3-2-g0d8e