1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
emacs/doc
Mattias Engdegård 7f16f17727 Pretty-print keys without <> around modifiers (bug#45536)
Be consistent when pretty-printing keys: put modifiers outside <>,
thus the more logical C-M-<return> instead of <C-M-return>.

* src/keymap.c (Fsingle_key_description):
Skip modifier prefix before adding <>.
* doc/lispref/help.texi (Describing Characters): Update example.
* doc/lispref/debugging.texi (Backtraces):
* doc/lispref/minibuf.texi (Text from Minibuffer):
Use @kbd instead of @key.
* etc/NEWS: Announce the change.
* test/src/keymap-tests.el (keymap--key-description):
* test/lisp/subr-tests.el (subr--kbd): New tests.
2021-01-05 11:28:58 +01:00
..
emacs Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lispintro Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lispref Pretty-print keys without <> around modifiers (bug#45536) 2021-01-05 11:28:58 +01:00
man Update copyright year to 2021 2021-01-01 01:13:56 -08:00
misc Merge from origin/emacs-27 2021-01-04 07:50:26 -08:00