From 4c4c2eab7eaf81f87f8513a40b8a38a1c071cfe6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 20 Feb 2021 16:24:03 +0200 Subject: [PATCH] ; Fix typos in last change * etc/NEWS: Improve wording. * lisp/simple.el (execute-extended-command-for-buffer): Fix typo. --- etc/NEWS | 2 +- lisp/simple.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index b623b13b34f..c4f4c1d9d86 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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. +++ diff --git a/lisp/simple.el b/lisp/simple.el index 0e3a1ee9053..121b4d35a73 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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 -- 2.39.2