aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2003-05-25 02:11:24 +0000
committerJuanma Barranquero2003-05-25 02:11:24 +0000
commit79fd290eeb77b090de183f969c7f7d613448678b (patch)
tree5a661f5405afb4454ffa272fa92ac9ee61384ffa /src
parentbd9b2b20ef76bf76087f73c1b7977c908d920829 (diff)
downloademacs-79fd290eeb77b090de183f969c7f7d613448678b.tar.gz
emacs-79fd290eeb77b090de183f969c7f7d613448678b.zip
(Fset_window_scroll_bars): Fix typo in argument name.
(Fwindow_scroll_bars): Fix typo in docstring.
Diffstat (limited to 'src')
-rw-r--r--src/window.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/window.c b/src/window.c
index 0bc09bb5f90..c07c35b8685 100644
--- a/src/window.c
+++ b/src/window.c
@@ -578,7 +578,7 @@ coordinates_in_window (w, x, y)
578 if (!WINDOW_LEFTMOST_P (w) && abs (*x - x0) < grabbable_width) 578 if (!WINDOW_LEFTMOST_P (w) && abs (*x - x0) < grabbable_width)
579 return ON_VERTICAL_BORDER; 579 return ON_VERTICAL_BORDER;
580 } 580 }
581 else 581 else
582 { 582 {
583 if (abs (*x - x1) < grabbable_width) 583 if (abs (*x - x1) < grabbable_width)
584 return ON_VERTICAL_BORDER; 584 return ON_VERTICAL_BORDER;
@@ -601,7 +601,7 @@ coordinates_in_window (w, x, y)
601 601
602 lmargin_width = window_box_width (w, LEFT_MARGIN_AREA); 602 lmargin_width = window_box_width (w, LEFT_MARGIN_AREA);
603 rmargin_width = window_box_width (w, RIGHT_MARGIN_AREA); 603 rmargin_width = window_box_width (w, RIGHT_MARGIN_AREA);
604 604
605 text_left = window_box_left (w, TEXT_AREA); 605 text_left = window_box_left (w, TEXT_AREA);
606 text_right = text_left + window_box_width (w, TEXT_AREA); 606 text_right = text_left + window_box_width (w, TEXT_AREA);
607 607
@@ -2419,7 +2419,7 @@ window_min_size (w, width_p, ignore_fixed_p, fixed)
2419} 2419}
2420 2420
2421 2421
2422/* Adjust the margins of window W if text area is too small. 2422/* Adjust the margins of window W if text area is too small.
2423 Return 1 if window width is ok after adjustment; 0 if window 2423 Return 1 if window width is ok after adjustment; 0 if window
2424 is still too narrow. */ 2424 is still too narrow. */
2425 2425
@@ -2766,7 +2766,7 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
2766 { 2766 {
2767 /* Set left and right marginal area width etc. from buffer. */ 2767 /* Set left and right marginal area width etc. from buffer. */
2768 2768
2769 /* This may call adjust_window_margins three times, so 2769 /* This may call adjust_window_margins three times, so
2770 temporarily disable window margins. */ 2770 temporarily disable window margins. */
2771 w->left_margin_cols = w->right_margin_cols = Qnil; 2771 w->left_margin_cols = w->right_margin_cols = Qnil;
2772 2772
@@ -2799,7 +2799,7 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
2799 2799
2800DEFUN ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0, 2800DEFUN ("set-window-buffer", Fset_window_buffer, Sset_window_buffer, 2, 3, 0,
2801 doc: /* Make WINDOW display BUFFER as its contents. 2801 doc: /* Make WINDOW display BUFFER as its contents.
2802BUFFER can be a buffer or buffer name. 2802BUFFER can be a buffer or buffer name.
2803Optional third arg KEEP_MARGINS non-nil means that WINDOW's current 2803Optional third arg KEEP_MARGINS non-nil means that WINDOW's current
2804display margins, fringe widths, and scroll bar settings are maintained; 2804display margins, fringe widths, and scroll bar settings are maintained;
2805the default is to reset these from BUFFER's local settings or the frame 2805the default is to reset these from BUFFER's local settings or the frame
@@ -5707,7 +5707,7 @@ DEFUN ("set-window-fringes", Fset_window_fringes, Sset_window_fringes,
5707If window is nil, set fringes of the currently selected window. 5707If window is nil, set fringes of the currently selected window.
5708Second parameter LEFT-WIDTH specifies the number of pixels to reserve 5708Second parameter LEFT-WIDTH specifies the number of pixels to reserve
5709for the left fringe. Third parameter RIGHT-WIDTH does the same for 5709for the left fringe. Third parameter RIGHT-WIDTH does the same for
5710the right fringe. Fourth parameter OUTSIDE-MARGINS non-nil specifies 5710the right fringe. Fourth parameter OUTSIDE-MARGINS non-nil specifies
5711that fringes are drawn outside of the display margins; by default, fringes 5711that fringes are drawn outside of the display margins; by default, fringes
5712are drawn between display marginal areas and the text area. 5712are drawn between display marginal areas and the text area.
5713A nil width parameter means to use the frame's corresponding fringe width. */) 5713A nil width parameter means to use the frame's corresponding fringe width. */)
@@ -5774,8 +5774,8 @@ this is automatically adjusted to a multiple of the frame column width.
5774Third parameter VERTICAL-TYPE specifies the type of the vertical scroll 5774Third parameter VERTICAL-TYPE specifies the type of the vertical scroll
5775bar: left, right, or nil. 5775bar: left, right, or nil.
5776A width of nil and type of t means to use the frame's corresponding value. */) 5776A width of nil and type of t means to use the frame's corresponding value. */)
5777 (window, width, vertical_type, horisontal_type) 5777 (window, width, vertical_type, horizontal_type)
5778 Lisp_Object window, width, vertical_type, horisontal_type; 5778 Lisp_Object window, width, vertical_type, horizontal_type;
5779{ 5779{
5780 struct window *w = decode_window (window); 5780 struct window *w = decode_window (window);
5781 5781
@@ -5808,7 +5808,7 @@ DEFUN ("window-scroll-bars", Fwindow_scroll_bars, Swindow_scroll_bars,
5808 0, 1, 0, 5808 0, 1, 0,
5809 doc: /* Get width and type of scroll bars of window WINDOW. 5809 doc: /* Get width and type of scroll bars of window WINDOW.
5810If WINDOW is omitted or nil, use the currently selected window. 5810If WINDOW is omitted or nil, use the currently selected window.
5811Value is a list of the form (WIDTH COLS VERTICAL-TYPE HORISONTAL-TYPE). */) 5811Value is a list of the form (WIDTH COLS VERTICAL-TYPE HORIZONTAL-TYPE). */)
5812 (window) 5812 (window)
5813 Lisp_Object window; 5813 Lisp_Object window;
5814{ 5814{