[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

flymake: don't query to kill process

From: Karl Chen
Subject: flymake: don't query to kill process
Date: Fri, 26 Mar 2010 12:17:09 -0400

I suggest not querying to kill flymake processes when killing the buffer:

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 2a19821..e0801de 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1153,6 +1153,7 @@ For the format of LINE-ERR-INFO, see 
       (let ((default-directory dir))
             (flymake-log 3 "starting process on dir %s" default-directory)))
               (setq process (apply 'start-process "flymake-proc" 
(current-buffer) cmd args))
+          (set-process-query-on-exit-flag process nil)
             (set-process-sentinel process 'flymake-process-sentinel)
               (set-process-filter process 'flymake-process-filter)
           (push process flymake-processes)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]