emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src cmds.c


From: Kenichi Handa
Subject: [Emacs-diffs] emacs/src cmds.c
Date: Mon, 13 Jul 2009 01:02:51 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   09/07/13 01:02:51

Modified files:
        src            : cmds.c 

Log message:
        (internal_self_insert): Check sym by SYMBOLP before
        calling XSYMBOL (sym).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/cmds.c?cvsroot=emacs&r1=1.106&r2=1.107

Patches:
Index: cmds.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/cmds.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- cmds.c      9 Jan 2009 03:29:39 -0000       1.106
+++ cmds.c      13 Jul 2009 01:02:51 -0000      1.107
@@ -492,7 +492,7 @@
       /* 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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]