]> git.eshelyaron.com Git - emacs.git/commit
Prevent server-mode from issuing a prompt in kill-emacs-hook.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)
commit381d186f82544c7c34478badef209f52feacd80f
treef42f58a5fdedb529a0aa650c9c455346a1f5abe3
parent98cfec0d6935f25a54852caaa33112ea1ca4634b
Prevent server-mode from issuing a prompt in kill-emacs-hook.
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.
lisp/ChangeLog
lisp/server.el