diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-11-27 22:21:10 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2022-12-07 21:54:00 -0800 |
commit | 153c67fa92eaad39410b1809ab9b125616bdc5c1 (patch) | |
tree | 60a35c3c8aa66c5d04555c5c66439be62bb64fe8 /lisp/emacs-lisp/cursor-sensor.el | |
parent | 5d68cc99177569a661da0ac75bb7df1ec4098fda (diff) | |
download | emacs-153c67fa92eaad39410b1809ab9b125616bdc5c1.tar.gz emacs-153c67fa92eaad39410b1809ab9b125616bdc5c1.tar.bz2 emacs-153c67fa92eaad39410b1809ab9b125616bdc5c1.zip |
Make 'server-stop-automatically' into a defcustom
This changes the meaning of the (formerly internal) variable
'server-stop-automatically': it now always holds the requested
configuration, even when Emacs was not started as a daemon
(bug#59668).
* lisp/server.el (server-stop-automatically): Convert the variable to
a defcustom, and make the function simply set the defcustom.
(server-stop-automatically--timer): New variable.
(server-apply-stop-automatically): New function...
(server-stop, server-start): ... call it.
(server-save-buffers-kill-terminal): Adjust the conditions for
stopping automatically to account for the change of meaning for
'server-stop-automatically'.
(server-stop-automatically--handle-delete-frame): Remove unnecessary
test of the 'server-stop-automatically' option; this hook is only set
when it should do its job.
(server-stop-automatically--maybe-kill-emacs): Update docstring.
* doc/emacs/misc.texi (Emacs Server): Update documentation.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions