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: Miles Bader
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Sat, 24 Jan 2009 21:34:33 +0900

Eli Zaretskii <address@hidden> writes:
> If the Lisp infrastructure is in an inconsistent state, there's
> nothing the user can do or avoid doing in `kill-emacs-hook' to avoid
> trouble.
>
> There are situations in Emacs when Lisp code simply cannot be run
> safely.

It seems like the signal should just enqueue a "kill-emacs-event" of
some sort...

(isn't that how signals should be handled in general?)

-Miles

-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I




reply via email to

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