]> git.eshelyaron.com Git - emacs.git/commit
Fix filesystem littering by Flymake's legacy backend
authorJoão Távora <joaotavora@gmail.com>
Fri, 11 May 2018 22:28:40 +0000 (23:28 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 11 May 2018 22:29:05 +0000 (23:29 +0100)
commit15fa8de1ae3228413fde95e583008d9b9f19e7c7
treed3f4d80eb523df5732c3897c55170650aaf71751
parente3d115ae86f7baa1483c5f14f1ac7d60d8aefa81
Fix filesystem littering by Flymake's legacy backend

The Flymake legacy "proc" backend, which is active by default will try
to syntax-check foo.c/foo.cpp and many other types of files, but on
failing to find a suitable Makefile target, will fail.  There's
nothing wrong with that except that it used to leave behind the
foo_flymake.c and foo_flymake.cpp auxiliary files behind, littering
the filesystem.

* lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake):
Call init-function inside of the unwind-protect.
lisp/progmodes/flymake-proc.el