or character escape, signal an error.
make_number(i));
UNGCPRO;
- if (EQ(Qnil, lisp_char))
+ if (NILP(lisp_char))
{
- /* This is ugly and horrible and trashes the user's data. */
- XSETFASTINT (i, MAKE_CHAR (charset_katakana_jisx0201,
- 34 + 128, 46 + 128));
- return i;
- }
- else
- {
- return XFASTINT (lisp_char);
+ error ("Unsupported Unicode code point: U+%x", (unsigned)i);
}
+
+ return XFASTINT (lisp_char);
}
default: