]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix build breakage if Lisp_Object is not a primitive type.
authorPhilipp Stephani <phst@google.com>
Sun, 10 Jan 2021 21:35:02 +0000 (22:35 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 10 Jan 2021 21:35:02 +0000 (22:35 +0100)
* src/minibuf.c (choose_minibuf_frame): Don't compare Lisp_Objects
with '!='.  Use 'EQ' instead.

src/minibuf.c

index c527e2bc9c638c5349734d0b5351431ecb01df0f..868e481f8432a57441abb910ea7df22b2c11cbd8 100644 (file)
@@ -141,8 +141,8 @@ choose_minibuf_frame (void)
       if (!EQ (frame, selected_frame)
           && minibuf_level > 1
          /* The frame's minibuffer can be on a different frame.  */
-         && XWINDOW ((of = XFRAME (frame))->minibuffer_window)->frame
-         != selected_frame)
+         && ! EQ (XWINDOW ((of = XFRAME (frame))->minibuffer_window)->frame,
+                  selected_frame))
         {
           if (MINI_WINDOW_P (XWINDOW (FRAME_SELECTED_WINDOW (of))))
             Fset_frame_selected_window (frame, Fframe_first_window (frame),