]> git.eshelyaron.com Git - emacs.git/commit
Options to automatically stop the Emacs server
authorGregory Heytings <gregory@heytings.org>
Thu, 11 Nov 2021 05:43:10 +0000 (06:43 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 11 Nov 2021 05:43:10 +0000 (06:43 +0100)
commit894dd18804ef766a87ffa4b4109125b4661651be
tree41379cb51bdc0f1a8d949b6988e93c7dd3bae4c5
parent0a93fb499b8885ffd87338f1ccc9cb5093f567c1
Options to automatically stop the Emacs server

* doc/emacs/misc.texi (Emacs Server): Document the new function.
Also mention that an Emacs server can be started with emacsclient.

* etc/NEWS: Describe the new function (bug#51377).
* lisp/server.el (server-stop-automatically): New function.
(server-stop-automatically): New auxiliary variable.
(server-stop-automatically--maybe-kill-emacs)
(server-stop-automatically--handle-delete-frame): New auxiliary
functions.
(server-save-buffers-kill-terminal): Call the new auxiliary
function when necessary.
doc/emacs/misc.texi
etc/NEWS
lisp/server.el