]> git.eshelyaron.com Git - emacs.git/commit
Flymake's flymake-proc.el backend slightly easier to debug
authorJoão Távora <joaotavora@gmail.com>
Tue, 19 Sep 2017 13:56:59 +0000 (14:56 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 3 Oct 2017 00:03:17 +0000 (01:03 +0100)
commit4ae24d782b3477a41c0791067d437011651fb006
treeedb9e774f48689edf49b4674e723b2ae69627f16
parentfc30b6b1e0970d6951f626de47b7eed1dd537c76
Flymake's flymake-proc.el backend slightly easier to debug

Misc cleanup in flymake-proc.el

Improve description of what this file contains.

Better name for the backend function.  Fix the case where it is run
interactively.

Keep the output buffer alive iff the external process panics.

* lisp/progmodes/flymake-proc.el
(flymake-proc-legacy-flymake): Rename from
flymake-proc-start-syntax-check.  Allow running interactively.
(flymake-start-syntax-check): Obsolete alias for
flymake-proc-legacy-flymake.
(flymake-proc-start-syntax-check): Delete.
(flymake-diagnostic-functions): Include flymake-proc-legacy-flymake
(flymake-proc--process-sentinel): Keep output buffer alive.
Clarify with comments.
(flymake-proc--diagnostics-for-pattern)
(flymake-proc--process-sentinel)
(flymake-proc--safe-delete-directory)
(flymake-proc--start-syntax-check-process): Use condition-case-unless-debug.
lisp/progmodes/flymake-proc.el