|Subject:||Re: [RFC] Option to kill `emacs --daemon' when closing the last client frame|
|Date:||Sun, 7 Nov 2021 21:13:36 -0800|
> 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.
|[Prev in Thread]||Current Thread||[Next in Thread]|