Commit cbfc02e4 authored by Romain Francoise's avatar Romain Francoise
Browse files

(server-sentinel): Set query-on-exit flag to nil on new client processes

(it isn't inherited from the server process).
parent 175a97e4
......@@ -59,6 +59,9 @@
2005-10-24 Romain Francoise <romain@orebokech.com>
* server.el (server-sentinel): Set query-on-exit flag to nil on
new client processes (it isn't inherited from the server process).
* replace.el (occur-engine): Rearrange text properties.
2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -189,6 +189,11 @@ are done with it in the server.")
(not server-existing-buffer))
(server-temp-file-p)))
(kill-buffer (current-buffer)))))))
;; If this is a new client process, set the query-on-exit flag to nil
;; for this process (it isn't inherited from the server process).
(when (and (eq (process-status proc) 'open)
(process-query-on-exit-flag proc))
(set-process-query-on-exit-flag proc nil))
(server-log (format "Status changed to %s" (process-status proc)) proc))
(defun server-select-display (display)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment