]> git.eshelyaron.com Git - emacs.git/commit
Minimal tweak as an attempt to future-proof Flymake API
authorJoão Távora <joaotavora@gmail.com>
Mon, 2 Oct 2017 12:28:18 +0000 (13:28 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 3 Oct 2017 13:20:29 +0000 (14:20 +0100)
commitf964aa99733e087bc51bd46fde655eaeaa5ff52d
treebc3c49a553c800f00de6510a6064ea964c1c9824
parent602d9376dbce2646f601f87c1311443ee3feb021
Minimal tweak as an attempt to future-proof Flymake API

Discussed with Stefan that this should allow Flymake to request more
from backends in the future, while also allowing backends to report
more accurately.

* lisp/progmodes/elisp-mode.el (elisp-flymake-checkdoc)
(elisp-flymake-byte-compile): Adjust to new API.

* lisp/progmodes/flymake-proc.el ()
(flymake-proc-legacy-flymake): Adjust to new API.

* lisp/progmodes/flymake.el (flymake-diagnostic-functions):
Review API again.
(flymake--handle-report): Allow other keys.  Change ACTION to
REPORT-ACTION.
lisp/progmodes/elisp-mode.el
lisp/progmodes/flymake-proc.el
lisp/progmodes/flymake.el