diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-03-09 04:17:47 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-03-09 04:17:47 +0000 |
commit | e93c8c386331878df56dc0587cc51650cf2f8b01 (patch) | |
tree | 05ef095dea7e18dadfba2d0eafb866ce4375f4e7 /src/window.c | |
parent | 1c50b77d223e21a848e74ec2d01c890d93b64096 (diff) | |
download | emacs-e93c8c386331878df56dc0587cc51650cf2f8b01.tar.gz |
(Fselect_window): Don't select an inactive minibuffer.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 3d807342346..6b6296a807c 100644 --- a/src/window.c +++ b/src/window.c @@ -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"); |