[Top][All Lists]

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

Re: HowTo: quit an emacs --daemon

From: Thierry Volpiatto
Subject: Re: HowTo: quit an emacs --daemon
Date: Wed, 23 Nov 2011 08:01:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> "T. V. Raman" <address@hidden> writes:
>> Now that Ihave started using emacs --daemon, I  kill emacs even
>> more rarely than I used to --- but sometimes Ido have to e.g.,
>> after rebuilding emacs from git/bzr.
>> In  those cases, quitting out of all emacsclient sessions still
>> keeps the daemon around -- and killing that process feels crude
>> -- it then leaves files like the emacs.desktop file locked. Is
>> there a clean way of asking a running emacs --daemon process to quit?
> M-x save-buffers-kill-emacs

(defun tv-stop-emacs ()
  (if (daemonp)

Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

reply via email to

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