Use global-flycheck-mode

This commit is contained in:
Bozhidar Batsov 2013-04-12 17:36:13 +03:00
parent 0339d5a4b3
commit c07fccb701

View file

@ -117,7 +117,6 @@
(when prelude-guru
(guru-mode +1))
(prelude-enable-whitespace)
(flycheck-mode +1)
(prelude-local-comment-auto-fill)
(prelude-add-watchwords))
@ -126,5 +125,9 @@
(add-hook 'prog-mode-hook (lambda ()
(run-hooks 'prelude-prog-mode-hook)))
(if (fboundp 'global-flycheck-mode)
(global-flycheck-mode +1)
(add-hook 'prog-mode-hook 'flycheck-mode))
(provide 'prelude-programming)
;;; prelude-programming.el ends here