From: Alan Mackenzie Date: Fri, 19 Aug 2022 15:06:38 +0000 (+0000) Subject: * src/window.c (select_window): Fix assert for buffer = non-active minibuffer X-Git-Tag: emacs-28.2~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c0eec4ed8;p=emacs.git * src/window.c (select_window): Fix assert for buffer = non-active minibuffer --- diff --git a/src/window.c b/src/window.c index 2576b66a181..35ec2a1f908 100644 --- a/src/window.c +++ b/src/window.c @@ -554,7 +554,9 @@ select_window (Lisp_Object window, Lisp_Object norecord, frame is active. */ Fselect_frame (frame, norecord); /* Fselect_frame called us back so we've done all the work already. */ - eassert (EQ (window, selected_window)); + eassert (EQ (window, selected_window) + || (EQ (window, f->minibuffer_window) + && NILP (Fminibufferp (XWINDOW (window)->contents, Qt)))); return window; } else