[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH] files.el: avoid asking whether to kill Emacs multiple times
From: |
Drew Adams |
Subject: |
RE: [PATCH] files.el: avoid asking whether to kill Emacs multiple times |
Date: |
Thu, 29 Jan 2015 06:35:23 -0800 (PST) |
> If `confirm-kill-emacs' is set, but user has just been asked whether
> they really want to kill Emacs (for example with a ‘Modified buffers
> exist; exit anyway?’ prompt), do not ask them for another confirmation.
> However, apply this exception only if `confirm-kill-emacs' is
> 'yes-or-no-p or 'y-or-n-p, otherwise this change might errenously
> prevent some user defined function from being run (adding such a
> function to `kill-emacs-query-functions' is probably better option,
> but we don’t want to break any usage even if it’s incorrect).
Related?
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9577