Commit 988c2f83 authored by Richard M. Stallman's avatar Richard M. Stallman

(read1): Allow `\C- ' and `\C-?'.

parent fe8fd409
......@@ -1217,6 +1217,12 @@ read1 (readcharfun)
}
else
{
/* Allow `\C- ' and `\C-?'. */
if (c == (CHAR_CTL | ' '))
c = 0;
else if (c == (CHAR_CTL | '?'))
c = 127;
if (c & CHAR_META)
/* Move the meta bit to the right place for a string. */
c = (c & ~CHAR_META) | 0x80;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment