about summary refs log tree commit diff
path: root/exwm-config.el
diff options
context:
space:
mode:
authorSteven Allen <steven@stebalien.com>2023-12-30T00·55-0800
committerSteven Allen <steven@stebalien.com>2023-12-31T16·47-0800
commit6eaa0301f17898449827c778d52456800f776e65 (patch)
tree37949870cf119bcc6a6beb8c30c1906b8f4bcce5 /exwm-config.el
parent56db521a3ed6a2ccc1193110a56545a1992e9654 (diff)
Correctly stop the subordinate Emacs daemon
This patch starts Emacs as a foreground daemon (so it can accurately be
killed) and terminates it by sending a signal (because
'server-force-delete' stops the local server, not the named server).

* exwm.el (exwm--server-timeout): The time to politely wait for the
subordinate server to exit before killing it.
(exwm--server-stop): Send SIGTERM to the subordinate process instead of
using 'server-force-delete'.
(exwm--server-eval-at): Prevent Emacs from forking so we can manage it
as a subprocess.
Diffstat (limited to 'exwm-config.el')
0 files changed, 0 insertions, 0 deletions