Mercurial > emacs
changeset 66388:ad0d12f9aa9e
(server-sentinel): Set query-on-exit flag to nil on new client processes
(it isn't inherited from the server process).
author | Romain Francoise <romain@orebokech.com> |
---|---|
date | Mon, 24 Oct 2005 11:06:03 +0000 |
parents | 72684fbc2016 |
children | 58043855503e |
files | lisp/ChangeLog lisp/server.el |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Oct 24 10:58:47 2005 +0000 +++ b/lisp/ChangeLog Mon Oct 24 11:06:03 2005 +0000 @@ -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>
--- a/lisp/server.el Mon Oct 24 10:58:47 2005 +0000 +++ b/lisp/server.el Mon Oct 24 11:06:03 2005 +0000 @@ -189,6 +189,11 @@ (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)