aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2008-04-10 07:49:07 +0000
committerGlenn Morris2008-04-10 07:49:07 +0000
commit96a7394f2920e13177478628dda4da3916aeb6e6 (patch)
treec34af3500721309da6cdd68e6fb4efb2f53e9bb1 /src
parent627bb5dcb5b217f6cfc31a2610fc94003e9d12b9 (diff)
downloademacs-96a7394f2920e13177478628dda4da3916aeb6e6.tar.gz
emacs-96a7394f2920e13177478628dda4da3916aeb6e6.zip
(truncate-partial-width-windows): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 29b0e0c5ab1..317a67c37d9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-04-10 Glenn Morris <rgm@gnu.org>
2
3 * xdisp.c (truncate-partial-width-windows): Doc fix.
4
12008-04-10 Stefan Monnier <monnier@iro.umontreal.ca> 52008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * fileio.c (read_file_name_cleanup, Fread_file_name_internal): 7 * fileio.c (read_file_name_cleanup, Fread_file_name_internal):
diff --git a/src/xdisp.c b/src/xdisp.c
index 7c6c9ebd50d..a64a6b2e854 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -12539,7 +12539,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
12539 { 12539 {
12540 double float_amount = XFLOATINT (aggressive) * height; 12540 double float_amount = XFLOATINT (aggressive) * height;
12541 amount_to_scroll = float_amount; 12541 amount_to_scroll = float_amount;
12542 if (amount_to_scroll == 0 && float_amount > 0) 12542 if (amount_to_scroll == 0 && float_amount >= 0)
12543 amount_to_scroll = 1; 12543 amount_to_scroll = 1;
12544 } 12544 }
12545 } 12545 }
@@ -12602,7 +12602,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
12602 { 12602 {
12603 double float_amount = XFLOATINT (aggressive) * height; 12603 double float_amount = XFLOATINT (aggressive) * height;
12604 amount_to_scroll = float_amount; 12604 amount_to_scroll = float_amount;
12605 if (amount_to_scroll == 0 && float_amount > 0) 12605 if (amount_to_scroll == 0 && float_amount >= 0)
12606 amount_to_scroll = 1; 12606 amount_to_scroll = 1;
12607 } 12607 }
12608 } 12608 }
@@ -24587,7 +24587,8 @@ Value is a number or a cons (WIDTH-DPI . HEIGHT-DPI). */);
24587 24587
24588 DEFVAR_BOOL ("truncate-partial-width-windows", 24588 DEFVAR_BOOL ("truncate-partial-width-windows",
24589 &truncate_partial_width_windows, 24589 &truncate_partial_width_windows,
24590 doc: /* *Non-nil means truncate lines in all windows less than full frame wide. */); 24590 doc: /* *Non-nil means truncate lines in all windows less than full frame wide.
24591Nil means to respect the value of `truncate-lines'. */);
24591 truncate_partial_width_windows = 1; 24592 truncate_partial_width_windows = 1;
24592 24593
24593 DEFVAR_BOOL ("mode-line-inverse-video", &mode_line_inverse_video, 24594 DEFVAR_BOOL ("mode-line-inverse-video", &mode_line_inverse_video,