emacs-devel
[Top][All Lists]
Advanced

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

Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SI


From: Eli Zaretskii
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Sat, 24 Jan 2009 00:37:39 +0200

> Date: Fri, 23 Jan 2009 12:33:19 -0800 (PST)
> From: Dan Nicolaescu <address@hidden>
> Cc: Tassilo Horn <address@hidden>, address@hidden,
>         address@hidden
> 
> The safest thing to do is run
>  emacsclient --eval "(save-buffers-kill-emacs)".

That is, of course, much better than delivering a signal.

> Relying on things getting saved properly on SIGTERM/SIGUSR* is just not a good
> idea.

100% agreement.




reply via email to

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