+2009-07-13 Kenichi Handa <handa@m17n.org>
+
+ * cmds.c (internal_self_insert): Check sym by SYMBOLP before
+ calling XSYMBOL (sym).
+
2009-07-10 Kenichi Handa <handa@m17n.org>
* xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE.
/* If we expanded an abbrev which has a hook,
and the hook has a non-nil `no-self-insert' property,
return right away--don't really self-insert. */
- if (! NILP (sym) && ! NILP (XSYMBOL (sym)->function)
+ if (SYMBOLP (sym) && ! NILP (sym) && ! NILP (XSYMBOL (sym)->function)
&& SYMBOLP (XSYMBOL (sym)->function))
{
Lisp_Object prop;