changeset 93960:dc0d038fc780

(truncate-partial-width-windows): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 10 Apr 2008 07:48:58 +0000
parents 877b2b1c2015
children e03345b7622b
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Apr 10 07:46:40 2008 +0000
+++ b/src/xdisp.c	Thu Apr 10 07:48:58 2008 +0000
@@ -12539,7 +12539,7 @@
 	    {
 	      double float_amount = XFLOATINT (aggressive) * height;
 	      amount_to_scroll = float_amount;
-	      if (amount_to_scroll == 0 && float_amount > 0)
+	      if (amount_to_scroll == 0 && float_amount >= 0)
 		amount_to_scroll = 1;
 	    }
 	}
@@ -12602,7 +12602,7 @@
 		{
 		  double float_amount = XFLOATINT (aggressive) * height;
 		  amount_to_scroll = float_amount;
-		  if (amount_to_scroll == 0 && float_amount > 0)
+		  if (amount_to_scroll == 0 && float_amount >= 0)
 		    amount_to_scroll = 1;
 		}
 	    }
@@ -24587,7 +24587,8 @@
 
   DEFVAR_BOOL ("truncate-partial-width-windows",
 	       &truncate_partial_width_windows,
-    doc: /* *Non-nil means truncate lines in all windows less than full frame wide.  */);
+    doc: /* *Non-nil means truncate lines in all windows less than full frame wide.
+Nil means to respect the value of `truncate-lines'.  */);
   truncate_partial_width_windows = 1;
 
   DEFVAR_BOOL ("mode-line-inverse-video", &mode_line_inverse_video,