]> 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>
Sat, 12 May 2018 10:37:48 +0000 (11:37 +0100)
commit934bb475b9a729d0be4d78cd89c1d22d032ee3d7
tree61272381858282ded2cd4958716a2201fe53cf47
parentb98cf9cdabd710f89eb57645a163fd52db338404
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