changeset 81905:bb87fadde067

(Fdisplay_buffer): Use NILP. (Fset_window_scroll_bars): Likewise.
author Andreas Schwab <schwab@suse.de>
date Mon, 16 Jul 2007 13:21:53 +0000
parents a10ef6f97de7
children e9d6a41a04c6
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Jul 16 04:42:24 2007 +0000
+++ b/src/window.c	Mon Jul 16 13:21:53 2007 +0000
@@ -3757,7 +3757,7 @@
 	  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 @@
 	vertical_type = Qnil;
     }
 
-  if (!(EQ (vertical_type, Qnil)
+  if (!(NILP (vertical_type)
 	|| EQ (vertical_type, Qleft)
 	|| EQ (vertical_type, Qright)
 	|| EQ (vertical_type, Qt)))