]> git.eshelyaron.com Git - emacs.git/commit
Cleanup the flymake 26.1 hack slightly
authorJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 16:26:38 +0000 (17:26 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 5 Jun 2018 16:33:58 +0000 (17:33 +0100)
commit24898b7d6056b856a22892ed816bfd161e4ade5f
tree0077acb2bd7ace0fe060d94283440c2374ceed9d
parent6bda52d1ac5b90a2cbf402bcc2565f00249467da
Cleanup the flymake 26.1 hack slightly

* eglot.el (eglot-handle-notification): Use proper flymake
diagnostic types.
(eglot-code-actions): Use eglot--diag-data.
(eglot--make-diag, eglot--diag-data): New aliases to
`flymake-diagnostic-data' and `flymake-make-diagnostic'.
(eglot-error eglot-warning eglot-note)
(dolist eglot-error eglot-warning eglot-note): put
flymake-overlay-control in these.
(eglot-error eglot-warning eglot-note): put corresponding
flymake-category.
(horrible hack at the end): Move the Flymake 26.1 hack here.
lisp/progmodes/eglot.el