]> 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 13:18:54 +0000 (14:18 +0100)
commit5ec7d738655db209ef7375e340d3d2b0ae5fc3da
treeef3d7bbff9023514d46f00df15b73eccb7e0d4ec
parentf930963dd48e8c912a7623e204315b02433866cd
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