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.
This commit is contained in:
parent
94344d130c
commit
45abd52f3c
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue