bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51377: Automatically exit server when it has no remaining clients


From: Jim Porter
Subject: bug#51377: Automatically exit server when it has no remaining clients
Date: Sun, 24 Oct 2021 14:40:18 -0700

On 10/24/2021 12:39 PM, Jim Porter wrote:
Next, I updated `server-save-buffers-kill-terminal' to check if the server is a lazy daemon and if the current client is the last one: if so, it calls `save-buffers-kill-emacs', which then calls an improved `server-kill-emacs-query-function' that knows to avoid prompting unnecessarily when this is the last client.

I amended the third patch (attached) to account for this change in `handle-delete-frame'. This ensures that if you delete the last (non-daemon) frame using this method, it calls `save-buffers-kill-emacs' to ask the relevant questions.

Attachment: 0003-When-killing-the-last-client-attached-to-a-lazy-daem.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]