aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd2022-06-18 11:08:23 +0200
committerMattias EngdegÄrd2022-06-18 11:22:58 +0200
commite321f87aa76c959faed784851b65ab7ada3fd129 (patch)
tree0f3450adff77e3a73df7b5786c39333b58e09e97 /src/coding.c
parent15238e2ed0eeba82fd43efbbd4b9237394f9fd55 (diff)
downloademacs-e321f87aa76c959faed784851b65ab7ada3fd129.tar.gz
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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions