Commit 45abd52f authored by Philipp Stephani's avatar Philipp Stephani

Fix build breakage if Lisp_Object is not a primitive type.

* src/minibuf.c (choose_minibuf_frame): Don't compare Lisp_Objects
with '!='.  Use 'EQ' instead.
parent 94344d13
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment