bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21833: 24.4; desktop-kill, which is interactive, is in kill-emacs-ho


From: Stelian Iancu
Subject: bug#21833: 24.4; desktop-kill, which is interactive, is in kill-emacs-hook
Date: Thu, 12 Nov 2015 21:24:36 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 12/11/15 21:11, Glenn Morris wrote:

The point is that kill-emacs-hook is not supposed to contain interactive
things.


Thanks for the clarification.

I've had a look at the code and desktop-kill is added to the kill-emacs-hook in desktop.el:

(unless noninteractive
(add-hook 'kill-emacs-hook 'desktop-kill))

So I guess the fix would be to remove these two lines, right?

Thanks,
Stelian







reply via email to

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