]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't prompt user when killing Flymake processes
authorKarl Chen <Karl.Chen@quarl.org>
Sat, 15 Oct 2016 20:16:26 +0000 (22:16 +0200)
committerPhilipp Stephani <phst@google.com>
Mon, 24 Oct 2016 09:34:04 +0000 (11:34 +0200)
* lisp/progmodes/flymake.el (flymake-start-syntax-check-process):
Don’t prompt the user when killing Flymake processes.

* doc/misc/flymake.texi (Starting the syntax check process):
Document new behavior.

doc/misc/flymake.texi
etc/NEWS
lisp/progmodes/flymake.el

index 1c4644bba1485ba728601d076da4bfb0d6a0f726..998f1b35170d85e08a0474ac206188ccbd375e12 100644 (file)
@@ -697,7 +697,8 @@ The command line (command name and the list of arguments) for launching a proces
 initialization function.  Flymake then just calls @code{start-process}
 to start an asynchronous process and configures a process filter and
 sentinel, which are used for processing the output of the syntax check
-tool.
+tool.  When exiting Emacs, running Flymake processes will be killed
+without prompting the user.
 
 @node Parsing the output
 @section Parsing the output
index d9973c0fd486126ec6075c9c60a0031c7f94ddda..a160f8102341bcaee16f66c91840ccbb93410305 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -478,6 +478,12 @@ This is done with the help of 'c-or-c++-mode' function which analyses
 contents of the buffer to determine whether it's a C or C++ source
 file.
 
+** Flymake
+
++++
+*** Emacs does no longer prompt the user before killing Flymake
+processes on exit.
+
 \f
 * New Modes and Packages in Emacs 26.1
 
index 30c9fed45ca2523802402b379732bdd158c41129..1b78823ccdb329aedf23cff34da18a672250617d 100644 (file)
@@ -1072,6 +1072,7 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'."
                        "flymake-proc" (current-buffer) cmd args))))
         (set-process-sentinel process 'flymake-process-sentinel)
         (set-process-filter process 'flymake-process-filter)
+        (set-process-query-on-exit-flag process nil)
         (push process flymake-processes)
 
         (setq flymake-is-running t)