aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callint.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c
index fa3ab422f28..a489a8243d6 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -328,7 +328,13 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
328 && XTYPE (event = XCONS (event)->cdr) == Lisp_Cons 328 && XTYPE (event = XCONS (event)->cdr) == Lisp_Cons
329 && XTYPE (event = XCONS (event)->car) == Lisp_Cons 329 && XTYPE (event = XCONS (event)->car) == Lisp_Cons
330 && XTYPE (event = XCONS (event)->car) == Lisp_Window) 330 && XTYPE (event = XCONS (event)->car) == Lisp_Window)
331 Fselect_window (event); 331 {
332 if (MINI_WINDOW_P (XWINDOW (window))
333 && NILP (call1 (intern ("minibuffer-window-active-p"),
334 window)))
335 error ("Attempt to select inactive minibuffer window");
336 Fselect_window (event);
337 }
332 string++; 338 string++;
333 } 339 }
334 else break; 340 else break;