aboutsummaryrefslogtreecommitdiffstats
path: root/src/callint.c
diff options
context:
space:
mode:
authorKarl Heuer1994-03-09 06:07:43 +0000
committerKarl Heuer1994-03-09 06:07:43 +0000
commitd1fa2e8a7adc18d129b5d80f8b83d1ebe431a054 (patch)
tree4f49e5ea0d4e8f42daa4ac0207ccdc734aaf57ba /src/callint.c
parent8c2c32d279f5c05a15b2ad8c8eea6d52fb5b41d2 (diff)
downloademacs-d1fa2e8a7adc18d129b5d80f8b83d1ebe431a054.tar.gz
emacs-d1fa2e8a7adc18d129b5d80f8b83d1ebe431a054.zip
(Fcall_interactively): Don't select an active minibuffer.
Diffstat (limited to 'src/callint.c')
-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;