]> git.eshelyaron.com Git - emacs.git/commit
Enable/disable 'server-mode' when starting/stopping the server
authorJim Porter <jporterbugs@gmail.com>
Wed, 2 Nov 2022 16:22:43 +0000 (09:22 -0700)
committerJim Porter <jporterbugs@gmail.com>
Thu, 17 Nov 2022 05:15:19 +0000 (21:15 -0800)
commit0147e1ed831151dddac65727886d5a70bbab9f02
tree9ca0bf2716dd191a57d7478f9a9e3753b16a61d3
parent7781121c44736a9a5ad0422955f23bfc045f5504
Enable/disable 'server-mode' when starting/stopping the server

* lisp/server.el (server-mode-map): New keymap...
(server-mode): ... use it.
(server-start): Update the 'server-mode' variable (and sync to
'global-minor-modes') when starting/stopping the server.

* test/lisp/server-tests.el: New file (bug#58909).
lisp/server.el
test/lisp/server-tests.el [new file with mode: 0644]