]> git.eshelyaron.com Git - emacs.git/commit
Don't turn on flymake-mode any more than is needed
authorJoão Távora <joaotavora@gmail.com>
Sun, 22 Jul 2018 18:07:43 +0000 (19:07 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 22 Jul 2018 18:07:47 +0000 (19:07 +0100)
commit693e4282510f8ba8d70e6144707907ba9fbd56b0
treed864a11b0c89b88628984053cffb14083b1c3c83
parentc959101180852aa2f46b2e51b21a36a76fcb8052
Don't turn on flymake-mode any more than is needed

If flymake-mode is in eglot--managed-mode-hook, it will be called even
if eglot--managed-mode is being turned off, which could be problematic
because it triggers a check if flymake-start-on-flymake-mode is t.

* eglot.el (eglot--managed-mode): Turn on flymake-mode and
eldoc-mode here.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/44
lisp/progmodes/eglot.el