|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |