aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index b2c97d52157..0f62838d672 100644
--- a/src/window.c
+++ b/src/window.c
@@ -974,6 +974,15 @@ WINDOW must be a live window and defaults to the selected one. */)
974 return (make_number (WINDOW_BOTTOM_DIVIDER_WIDTH (decode_live_window (window)))); 974 return (make_number (WINDOW_BOTTOM_DIVIDER_WIDTH (decode_live_window (window))));
975} 975}
976 976
977DEFUN ("window-scroll-bar-width", Fwindow_scroll_bar_width,
978 Swindow_scroll_bar_width, 0, 1, 0,
979 doc: /* Return the width in pixels of WINDOW's vertical scrollbar.
980WINDOW must be a live window and defaults to the selected one. */)
981 (Lisp_Object window)
982{
983 return (make_number (WINDOW_SCROLL_BAR_AREA_WIDTH (decode_live_window (window))));
984}
985
977DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, 986DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0,
978 doc: /* Return the number of columns by which WINDOW is scrolled from left margin. 987 doc: /* Return the number of columns by which WINDOW is scrolled from left margin.
979WINDOW must be a live window and defaults to the selected one. */) 988WINDOW must be a live window and defaults to the selected one. */)
@@ -7363,6 +7372,7 @@ pixelwise even if this option is nil. */);
7363 defsubr (&Swindow_header_line_height); 7372 defsubr (&Swindow_header_line_height);
7364 defsubr (&Swindow_right_divider_width); 7373 defsubr (&Swindow_right_divider_width);
7365 defsubr (&Swindow_bottom_divider_width); 7374 defsubr (&Swindow_bottom_divider_width);
7375 defsubr (&Swindow_scroll_bar_width);
7366 defsubr (&Swindow_inside_edges); 7376 defsubr (&Swindow_inside_edges);
7367 defsubr (&Swindow_inside_pixel_edges); 7377 defsubr (&Swindow_inside_pixel_edges);
7368 defsubr (&Swindow_inside_absolute_pixel_edges); 7378 defsubr (&Swindow_inside_absolute_pixel_edges);