Commit 413a79ad authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(Fdisplay_buffer): Use NILP.

(Fset_window_scroll_bars): Likewise.
parent b3709a53
2007-07-16 Andreas Schwab <schwab@suse.de>
* window.c (Fdisplay_buffer): Use NILP.
(Fset_window_scroll_bars): Likewise.
2007-07-15 Martin Rudalics <rudalics@gmx.at>
 
* window.c (window_min_size_2): New function.
......
......@@ -3757,7 +3757,7 @@ displayed. */)
if (!NILP (window)
&& ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
&& (EQ (window, selected_window)
|| EQ (XWINDOW (window)->parent, Qnil))
|| NILP (XWINDOW (window)->parent))
&& window_height (window) >= split_height_threshold
&& (window_height (window)
>= (2 * window_min_size_2 (XWINDOW (window), 0))))
......@@ -6909,7 +6909,7 @@ Fourth parameter HORIZONTAL-TYPE is currently unused. */)
vertical_type = Qnil;
}
if (!(EQ (vertical_type, Qnil)
if (!(NILP (vertical_type)
|| EQ (vertical_type, Qleft)
|| EQ (vertical_type, Qright)
|| EQ (vertical_type, Qt)))
......
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