]> git.eshelyaron.com Git - emacs.git/commit
Also override global flymake-diagnostic-functions
authorJoão Távora <joaotavora@gmail.com>
Mon, 1 Feb 2021 14:03:23 +0000 (14:03 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 1 Feb 2021 14:04:40 +0000 (14:04 +0000)
commit60724b8c522ff2ef30429170223c1595c47a4d17
treeadaf2d4857c142da0091275b0160cb6445d2af91
parentc758ba1a4c38f3edb9779082a7ac808e59774848
Also override global flymake-diagnostic-functions

The global value of the flymake-diagnostic-functions is likely to be
of little use in Eglot-managed buffers, so don't run it.  Likely the
value flymake-proc-legacy-flymake is there which is not only likely of
little uses but also causes trouble in some situations.

The user can easily avert this by leveraging the variable
eglot-stay-out-of.

* eglot.el (eglot--managed-mode): Don't run global
flymake-diagnostic-functions.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/616
lisp/progmodes/eglot.el