Flymake quits right ahead after loading with js2-mode
Posted
by artistoex
on Stack Overflow
See other posts from Stack Overflow
or by artistoex
Published on 2010-05-20T10:08:59Z
Indexed on
2010/05/20
10:10 UTC
Read the original article
Hit count: 234
When opening .js files, js2-mode and, subsequently, flymake-js is automatically loaded. But flymake unloads right ahead with the message
Toggling flymake-mode off; better pass an explicit argument.
However, when enabling it manually, using M-x flymake-mode
, it keeps
activated. Has anybody encountered similar behavior and has fixed it?
My setup: I followed the instructions on emacswiki to set up Flymake to work with the most recent js2-mode with a little modification:
(add-hook 'js2-mode-hook '(lambda () (flymake-js-load)))
instead of
(add-hook 'javascript-mode-hook '(lambda () (flymake-js-load)))
© Stack Overflow or respective owner