diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-06-18 11:08:23 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-06-18 11:22:58 +0200 |
commit | e321f87aa76c959faed784851b65ab7ada3fd129 (patch) | |
tree | 0f3450adff77e3a73df7b5786c39333b58e09e97 /lisp/progmodes/cc-langs.el | |
parent | 15238e2ed0eeba82fd43efbbd4b9237394f9fd55 (diff) | |
download | emacs-e321f87aa76c959faed784851b65ab7ada3fd129.tar.gz emacs-e321f87aa76c959faed784851b65ab7ada3fd129.tar.bz2 emacs-e321f87aa76c959faed784851b65ab7ada3fd129.zip |
Avoid "control-control-KEY" (bug#55738)
Constructs such as ?\C-^@ or ?\C-\C-m literally apply a Control
modifier twice which doesn't make sense at all. What is really meant
is a C0 base character with the Control modifier bit set.
This change is only stylistic in nature.
* lisp/edmacro.el (edmacro-format-keys):
* lisp/keymap.el (key-parse):
* lisp/subr.el (event-modifiers, event-basic-type):
* test/lisp/subr-tests.el (subr-test-kbd):
Use \0 and \r instead of ^@ and \C-m to represent NUL and RET
when combined with other modifiers.
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
0 files changed, 0 insertions, 0 deletions