Commit d68807fc authored by Karl Heuer's avatar Karl Heuer

Fix typo in previous change.

parent d1fa2e8a
......@@ -329,9 +329,9 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
&& XTYPE (event = XCONS (event)->car) == Lisp_Cons
&& XTYPE (event = XCONS (event)->car) == Lisp_Window)
{
if (MINI_WINDOW_P (XWINDOW (window))
if (MINI_WINDOW_P (XWINDOW (event))
&& NILP (call1 (intern ("minibuffer-window-active-p"),
window)))
event)))
error ("Attempt to select inactive minibuffer window");
Fselect_window (event);
}
......
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