Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon

From: Glenn Morris <[email-masked]>
Date: Mon, 20 Jan 2014 12:05:24 -0500

Andreas Schwab wrote:

>>   ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
>
> 'nil is the same as nil.

Also: why set kill-emacs-hook to nil at all?

If it is to avoid prompting: "functions placed on this hook should not
expect to be able to interact with the user.  To ask for confirmation,
see `kill-emacs-query-functions' instead."