]> 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 00:07:32 +0000 (01:07 +0100)
commit2971cd063f4a8d5983cb43502e7f672057d0deed
treee0182e59db333d9d182e98895e2ed861419dcc55
parent3169bd95db9d7a8306a867b8b812e2f721e9db89
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