Use global-flycheck-mode
This commit is contained in:
parent
0339d5a4b3
commit
c07fccb701
1 changed files with 4 additions and 1 deletions
|
@ -117,7 +117,6 @@
|
||||||
(when prelude-guru
|
(when prelude-guru
|
||||||
(guru-mode +1))
|
(guru-mode +1))
|
||||||
(prelude-enable-whitespace)
|
(prelude-enable-whitespace)
|
||||||
(flycheck-mode +1)
|
|
||||||
(prelude-local-comment-auto-fill)
|
(prelude-local-comment-auto-fill)
|
||||||
(prelude-add-watchwords))
|
(prelude-add-watchwords))
|
||||||
|
|
||||||
|
@ -126,5 +125,9 @@
|
||||||
(add-hook 'prog-mode-hook (lambda ()
|
(add-hook 'prog-mode-hook (lambda ()
|
||||||
(run-hooks 'prelude-prog-mode-hook)))
|
(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)
|
(provide 'prelude-programming)
|
||||||
;;; prelude-programming.el ends here
|
;;; prelude-programming.el ends here
|
||||||
|
|
Loading…
Reference in a new issue