diff options
| author | Karl Heuer <kwzh@gnu.org> | 1994-03-09 06:07:43 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1994-03-09 06:07:43 +0000 |
| commit | d1fa2e8a7adc18d129b5d80f8b83d1ebe431a054 (patch) | |
| tree | 4f49e5ea0d4e8f42daa4ac0207ccdc734aaf57ba | |
| parent | 8c2c32d279f5c05a15b2ad8c8eea6d52fb5b41d2 (diff) | |
| download | emacs-d1fa2e8a7adc18d129b5d80f8b83d1ebe431a054.tar.gz | |
(Fcall_interactively): Don't select an active minibuffer.
| -rw-r--r-- | src/callint.c | 8 |
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.") && XTYPE (event = XCONS (event)->cdr) == Lisp_Cons && XTYPE (event = XCONS (event)->car) == Lisp_Cons && XTYPE (event = XCONS (event)->car) == Lisp_Window) - Fselect_window (event); + { + if (MINI_WINDOW_P (XWINDOW (window)) + && NILP (call1 (intern ("minibuffer-window-active-p"), + window))) + error ("Attempt to select inactive minibuffer window"); + Fselect_window (event); + } string++; } else break; |
