Commit 7e6491d3 authored by Jim Blandy's avatar Jim Blandy
Browse files

* callint.c (Fcall_interactively): Change handling of 'e' spec;

	this_command_keys is now a vector.
parent 22cb290f
......@@ -400,14 +400,15 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
case 'e': /* The invoking event. */
/* Find the next parameterized event. */
while (next_event < this_command_key_count
&& ! EVENT_HAS_PARAMETERS (this_command_keys[next_event]))
(XVECTOR (this_command_keys)->contents[next_event])))
if (next_event >= this_command_key_count)
error ("%s must be bound to an event with parameters",
(XTYPE (function) == Lisp_Symbol
? (char *) XSYMBOL (function)->name->data
: "command"));
args[i] = this_command_keys[next_event++];
args[i] = XVECTOR (this_command_keys)->contents[next_event++];
varies[i] = -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment