aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c
index ec483c7a632..fe0781a7f2a 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2286,7 +2286,8 @@ push_text_char_description (register unsigned int c, register char *p)
2286DEFUN ("text-char-description", Ftext_char_description, Stext_char_description, 1, 1, 0, 2286DEFUN ("text-char-description", Ftext_char_description, Stext_char_description, 1, 1, 0,
2287 doc: /* Return the description of CHARACTER in standard Emacs notation. 2287 doc: /* Return the description of CHARACTER in standard Emacs notation.
2288CHARACTER must be a valid character code that passes the `characterp' test. 2288CHARACTER must be a valid character code that passes the `characterp' test.
2289Control characters turn into "^char", the 2**7 bit is treated as Meta, etc. 2289Control characters turn into "^char", and characters with Meta and other
2290modifiers signal an error, as they are not valid characterr codes.
2290This differs from `single-key-description' which accepts character events, 2291This differs from `single-key-description' which accepts character events,
2291and thus doesn't enforce the `characterp' condition, turns control 2292and thus doesn't enforce the `characterp' condition, turns control
2292characters into "C-char", and uses the 2**27 bit for Meta. 2293characters into "C-char", and uses the 2**27 bit for Meta.