]> git.eshelyaron.com Git - emacs.git/commit
Add new format for literal key sequences to substitute-command-keys
authorStefan Kangas <stefan@marxist.se>
Mon, 22 Nov 2021 05:44:10 +0000 (06:44 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 22 Nov 2021 05:44:10 +0000 (06:44 +0100)
commit1aef1a6673bc29784effe10d2e01e62b49c0112c
treef8c0e96c0d36d4a1606740aadb2d427901423424
parent5fcff0d2cbe33faef8bbb753a5f02fb26b1d7e5c
Add new format for literal key sequences to substitute-command-keys

* lisp/help.el (substitute-command-keys): Add new format "\\`f'" for
literal key sequences.  (Bug#50804)
* doc/lispref/help.texi (Keys in Documentation): Document the above
new substitution.

* test/lisp/help-tests.el
(help-tests-substitute-command-keys/literal-key-sequence):
(help-tests-substitute-command-keys/literal-key-sequence-errors): New
tests.
(help-tests-substitute-key-bindings/face-help-key-binding): Extend test.
doc/lispref/help.texi
etc/NEWS
lisp/help.el
test/lisp/help-tests.el