[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fa135ff305: ; Improve a recently added NEWS entry about 'command-
From: |
Eli Zaretskii |
Subject: |
master fa135ff305: ; Improve a recently added NEWS entry about 'command-query'. |
Date: |
Mon, 14 Feb 2022 12:40:46 -0500 (EST) |
branch: master
commit fa135ff305004f9fca85f0b0401a8dcc93c9ae1b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Improve a recently added NEWS entry about 'command-query'.
---
etc/NEWS | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/etc/NEWS b/etc/NEWS
index 657088c98d..b4acdf0e4f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -154,8 +154,15 @@ An autoload definition appears just as a '(defun . NAME)'
and the
+++
** New function 'command-query'.
-Commands that are marked with this function will prompt the user
-before executing.
+This function makes its argument command prompt the user for
+confirmation before executing.
+
++++
+** The 'disabled' property of a command's symbol can now be a list.
+The first element of the list should be the symbol 'query', which will
+cause the command disabled this way prompt the user with a y/n or a
+yes/no question before executing. The new function 'command-query' is
+a convenient method of making commands disabled in this way.
---
** 'count-lines' will now report buffer totals if given a prefix.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master fa135ff305: ; Improve a recently added NEWS entry about 'command-query'.,
Eli Zaretskii <=