Also fix https://github.com/joaotavora/eglot/issues/472.
Copyright-paperwork-exempt: yes
* eglot.el (eglot-handle-notification): Check that flymake-mode is
active before calling flymake report function.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/468
(t 'eglot-note))
message `((eglot-lsp-diag . ,diag-spec)))))
into diags
- finally (cond (eglot--current-flymake-report-fn
+ finally (cond ((and flymake-mode eglot--current-flymake-report-fn)
(funcall eglot--current-flymake-report-fn diags
;; If the buffer hasn't changed since last
;; call to the report function, flymake won't