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

From: Glenn Morris <[email-masked]>
Date: Thu, 12 Nov 2015 16:38:48 -0500

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

There are several other instances of this form.
Someone should check them all, and consider what TRT to do is when Emacs
isn't in batch mode but can't interact.

Ref bug#13697 and 8137, and commit 845fc5e5.