Commit 671cfd1a authored by Karl Heuer's avatar Karl Heuer

(Fselect_window): Don't select an inactive minibuffer.

parent d65147f6
......@@ -1657,6 +1657,10 @@ before each command.")
w = XWINDOW (window);
if (MINI_WINDOW_P (w)
&& NILP (call1 (intern ("minibuffer-window-active-p"), window)))
error ("Attempt to select inactive minibuffer window");
if (NILP (w->buffer))
error ("Trying to select deleted window or non-leaf window");
......
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