Mercurial > emacs
diff src/callint.c @ 24911:f477c5bb74c6
(Fcall_interactively): Ignore first element of
event-symbol-elements property.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Thu, 01 Jul 1999 15:02:43 +0000 |
parents | 93f40b344070 |
children | a14111a2a100 |
line wrap: on
line diff
--- a/src/callint.c Thu Jul 01 14:16:44 1999 +0000 +++ b/src/callint.c Thu Jul 01 15:02:43 1999 +0000 @@ -560,7 +560,8 @@ Lisp_Object tem2; teml = Fget (teml, intern ("event-symbol-elements")); - tem2 = Fmemq (intern ("down"), teml); + /* Ignore first element, which is the base key. */ + tem2 = Fmemq (intern ("down"), Fcdr (teml)); if (! NILP (tem2)) Fread_event (Qnil, Qnil); } @@ -587,7 +588,8 @@ Lisp_Object tem2; teml = Fget (teml, intern ("event-symbol-elements")); - tem2 = Fmemq (intern ("down"), teml); + /* Ignore first element, which is the base key. */ + tem2 = Fmemq (intern ("down"), Fcdr (teml)); if (! NILP (tem2)) Fread_event (Qnil, Qnil); }