emacs-devel
[Top][All Lists]
Advanced

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

Re: [RFC] Option to kill `emacs --daemon' when closing the last client f


From: Gregory Heytings
Subject: Re: [RFC] Option to kill `emacs --daemon' when closing the last client frame
Date: Sun, 24 Oct 2021 15:17:08 +0000



Even better (because it also works with emacsclient -n):

(when (daemonp) (run-with-timer 2 2 (lambda () (when (<= (length (frame-list)) 
1) (save-buffers-kill-emacs)))))


Slightly improved and submitted in bug#51377.



reply via email to

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