; Fix typos in last change

* etc/NEWS: Improve wording.
* lisp/simple.el (execute-extended-command-for-buffer): Fix typo.
This commit is contained in:
Eli Zaretskii 2021-02-20 16:24:03 +02:00
parent e3e3133f80
commit 4c4c2eab7e
2 changed files with 3 additions and 3 deletions

View file

@ -255,7 +255,7 @@ commands. The new keystrokes are 'C-x x g' ('revert-buffer'),
** New command 'execute-extended-command-for-buffer'.
This new command, bound to 'M-S-x', works like
'execute-extended-command', but limits the set of commands to the
commands that have been determined to be particularly of use to the
commands that have been determined to be particularly useful with the
current mode.
+++

View file

@ -2195,8 +2195,8 @@ invoking, give a prefix argument to `execute-extended-command'."
(defun execute-extended-command-for-buffer (prefixarg &optional
command-name typed)
"Query usert for a command relevant for the current mode and then execute it.
This is like `execute-extended-command', but limits the
"Query user for a command relevant for the current mode, and then execute it.
This is like `execute-extended-command', but it limits the
completions to commands that are particularly relevant to the
current buffer. This includes commands that have been marked as
being specially designed for the current major mode (and enabled