diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c index a489a8243d6..340ab5a617a 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -329,9 +329,9 @@ Otherwise, this is done only if an arg is read using the minibuffer.") | |||
| 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 | { | 331 | { |
| 332 | if (MINI_WINDOW_P (XWINDOW (window)) | 332 | if (MINI_WINDOW_P (XWINDOW (event)) |
| 333 | && NILP (call1 (intern ("minibuffer-window-active-p"), | 333 | && NILP (call1 (intern ("minibuffer-window-active-p"), |
| 334 | window))) | 334 | event))) |
| 335 | error ("Attempt to select inactive minibuffer window"); | 335 | error ("Attempt to select inactive minibuffer window"); |
| 336 | Fselect_window (event); | 336 | Fselect_window (event); |
| 337 | } | 337 | } |