mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
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
@ -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…
Reference in New Issue
Block a user