From: Stefan Kangas Date: Mon, 22 Nov 2021 15:27:55 +0000 (+0100) Subject: ; Improve recent NEWS entry X-Git-Tag: emacs-29.0.90~2852^2~104 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55f84a12ec1451788cbabad983f19e065be1d43e;p=emacs.git ; Improve recent NEWS entry * etc/NEWS: Improve recently added entry on substitution of literal key sequences. Thanks to Eli Zaretskii . --- diff --git a/etc/NEWS b/etc/NEWS index 47b5578dee1..09f17d6553b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -721,8 +721,8 @@ vectors and strings. +++ ** New substitution in docstrings and 'substitute-command-keys'. -Use "\\`KEYSEQ'" to insert a literal key sequence "KEYSEQ" -(e.g. "C-k") in a docstring or when calling 'substitute-command-keys', +Use \\`KEYSEQ' to insert a literal key sequence "KEYSEQ" (for example +\\`C-k') in a docstring or when calling 'substitute-command-keys', which will use the same face as a command substitution. This should be used only when a key sequence has no corresponding command, for example when it is read directly with 'read-key-sequence'. It must be