[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src cmds.c [EMACS_23_1_RC]
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] emacs/src cmds.c [EMACS_23_1_RC] |
Date: |
Mon, 13 Jul 2009 01:04:15 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_23_1_RC
Changes by: Kenichi Handa <handa> 09/07/13 01:04:15
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&only_with_tag=EMACS_23_1_RC&r1=1.106&r2=1.106.2.1
Patches:
Index: cmds.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/cmds.c,v
retrieving revision 1.106
retrieving revision 1.106.2.1
diff -u -b -r1.106 -r1.106.2.1
--- cmds.c 9 Jan 2009 03:29:39 -0000 1.106
+++ cmds.c 13 Jul 2009 01:04:15 -0000 1.106.2.1
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/src cmds.c [EMACS_23_1_RC],
Kenichi Handa <=