Browse Source

Add a comment

custom
Bozhidar Batsov 12 years ago
parent
commit
b3277d190e
  1. 1
      modules/prelude-programming.el

1
modules/prelude-programming.el

@ -130,6 +130,7 @@ This functions should be added to the hooks of major modes for programming."
(add-hook 'prog-mode-hook (lambda () (add-hook 'prog-mode-hook (lambda ()
(run-hooks 'prelude-prog-mode-hook))) (run-hooks 'prelude-prog-mode-hook)))
;; enable on-the-fly syntax checking
(if (fboundp 'global-flycheck-mode) (if (fboundp 'global-flycheck-mode)
(global-flycheck-mode +1) (global-flycheck-mode +1)
(add-hook 'prog-mode-hook 'flycheck-mode)) (add-hook 'prog-mode-hook 'flycheck-mode))

Loading…
Cancel
Save