+2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * callint.c (Fcall_interactively): Use AREF.
+
2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
* font.c (font_unparse_xlfd): Don't ignore integer pixel size specs.
/* Set next_event to point to the first event with parameters. */
for (next_event = 0; next_event < key_count; next_event++)
- if (EVENT_HAS_PARAMETERS (XVECTOR (keys)->contents[next_event]))
+ if (EVENT_HAS_PARAMETERS (AREF (keys, next_event)))
break;
/* Handle special starting chars `*' and `@'. Also `-'. */
Lisp_Object event, tem;
event = (next_event < key_count
- ? XVECTOR (keys)->contents[next_event]
+ ? AREF (keys, next_event)
: Qnil);
if (EVENT_HAS_PARAMETERS (event)
&& (tem = XCDR (event), CONSP (tem))
(SYMBOLP (function)
? (char *) SDATA (SYMBOL_NAME (function))
: "command"));
- args[i] = XVECTOR (keys)->contents[next_event++];
+ args[i] = AREF (keys, next_event);
+ next_event++;
varies[i] = -1;
/* Find the next parameterized event. */
while (next_event < key_count
- && ! (EVENT_HAS_PARAMETERS
- (XVECTOR (keys)->contents[next_event])))
+ && !(EVENT_HAS_PARAMETERS (AREF (keys, next_event))))
next_event++;
break;