1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

* files.el (confirm-kill-emacs): Allow specifying an arbitrary predicate function.

Fixes: debbugs:15455
This commit is contained in:
Lars Ingebrigtsen 2014-02-09 20:26:10 -08:00
parent a11463de21
commit 6abe458993
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
* files.el (confirm-kill-emacs): Allow specifying an arbitrary
predicate function (bug#15455).
2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
* ielm.el (inferior-emacs-lisp-mode): Instead of

View File

@ -6501,7 +6501,8 @@ If nil, the default, don't ask at all. If the value is non-nil, it should
be a predicate function such as `yes-or-no-p'."
:type '(choice (const :tag "Ask with yes-or-no-p" yes-or-no-p)
(const :tag "Ask with y-or-n-p" y-or-n-p)
(const :tag "Don't confirm" nil))
(const :tag "Don't confirm" nil)
(function :tag "Predicate function"))
:group 'convenience
:version "21.1")