aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/lread.c b/src/lread.c
index a0d4ad825dd..a3da8489e49 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1964,17 +1964,12 @@ read_escape (readcharfun, stringp, byterep)
1964 make_number(i)); 1964 make_number(i));
1965 UNGCPRO; 1965 UNGCPRO;
1966 1966
1967 if (EQ(Qnil, lisp_char)) 1967 if (NILP(lisp_char))
1968 { 1968 {
1969 /* This is ugly and horrible and trashes the user's data. */ 1969 error ("Unsupported Unicode code point: U+%x", (unsigned)i);
1970 XSETFASTINT (i, MAKE_CHAR (charset_katakana_jisx0201,
1971 34 + 128, 46 + 128));
1972 return i;
1973 }
1974 else
1975 {
1976 return XFASTINT (lisp_char);
1977 } 1970 }
1971
1972 return XFASTINT (lisp_char);
1978 } 1973 }
1979 1974
1980 default: 1975 default: