comparison src/xdisp.c @ 93960:dc0d038fc780

(truncate-partial-width-windows): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 10 Apr 2008 07:48:58 +0000
parents d7c350803773
children 46ac0eab32c3
comparison
equal deleted inserted replaced
93959:877b2b1c2015 93960:dc0d038fc780
12537 height = WINDOW_BOX_TEXT_HEIGHT (w); 12537 height = WINDOW_BOX_TEXT_HEIGHT (w);
12538 if (NUMBERP (aggressive)) 12538 if (NUMBERP (aggressive))
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 }
12546 12546
12547 if (amount_to_scroll <= 0) 12547 if (amount_to_scroll <= 0)
12600 height = WINDOW_BOX_TEXT_HEIGHT (w); 12600 height = WINDOW_BOX_TEXT_HEIGHT (w);
12601 if (NUMBERP (aggressive)) 12601 if (NUMBERP (aggressive))
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 }
12609 12609
12610 if (amount_to_scroll <= 0) 12610 if (amount_to_scroll <= 0)
24585 DEFVAR_INT ("debug-end-pos", &debug_end_pos, doc: /* Don't ask. */); 24585 DEFVAR_INT ("debug-end-pos", &debug_end_pos, doc: /* Don't ask. */);
24586 #endif 24586 #endif
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.
24591 Nil 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,
24594 doc: /* When nil, display the mode-line/header-line/menu-bar in the default face. 24595 doc: /* When nil, display the mode-line/header-line/menu-bar in the default face.
24595 Any other value means to use the appropriate face, `mode-line', 24596 Any other value means to use the appropriate face, `mode-line',