; Improve a recently added NEWS entry about 'command-query'.
authorEli Zaretskii <eliz@gnu.org>
Mon, 14 Feb 2022 17:38:56 +0000 (19:38 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Feb 2022 17:38:56 +0000 (19:38 +0200)
etc/NEWS

index 657088c98dea2c37cdc2036e6db3eb468c9c90a5..b4acdf0e4f577f7b521a37cb6c21671b666e007a 100644 (file)
--- 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.