diff options
| author | Eli Zaretskii | 2024-05-13 08:00:38 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-13 08:00:38 +0300 |
| commit | 60b1768dc50c33a6788a626351f9d902a859b622 (patch) | |
| tree | 540778b62f8a35a0b5d811284c316efca14a4b87 /src | |
| parent | 0ec9a02a0d5da108ccefe32dd37b066bae357334 (diff) | |
| download | emacs-60b1768dc50c33a6788a626351f9d902a859b622.tar.gz emacs-60b1768dc50c33a6788a626351f9d902a859b622.zip | |
; * src/window.c (Fwindow_scroll_bars): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 3a8f864ec69..5301b76fa85 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -8086,9 +8086,18 @@ DEFUN ("window-scroll-bars", Fwindow_scroll_bars, Swindow_scroll_bars, | |||
| 8086 | WINDOW must be a live window and defaults to the selected one. | 8086 | WINDOW must be a live window and defaults to the selected one. |
| 8087 | 8087 | ||
| 8088 | Value is a list of the form (WIDTH COLUMNS VERTICAL-TYPE HEIGHT LINES | 8088 | Value is a list of the form (WIDTH COLUMNS VERTICAL-TYPE HEIGHT LINES |
| 8089 | HORIZONTAL-TYPE PERSISTENT), see `set-window-scroll-bars'. If WIDTH | 8089 | HORIZONTAL-TYPE PERSISTENT). WIDTH reports the pixel width of the |
| 8090 | or HEIGHT is nil or VERTICAL-TYPE or HORIZONTAL-TYPE is t, WINDOW is | 8090 | vertical scroll bar; COLUMNS is the equivalent number of columns. |
| 8091 | using the frame's corresponding value. */) | 8091 | Similarly, HEIGHT and LINES are the height of the horizontal scroll |
| 8092 | bar in pixels and the equivalent number of lines. VERTICAL-TYPE | ||
| 8093 | reports the type of the vertical scroll bar, either left, right, nil, | ||
| 8094 | or t. HORIZONTAL-TYPE reports the type of the horizontal scroll bar, | ||
| 8095 | either bottom, nil or t. PERSISTENT reports the value specified by | ||
| 8096 | the last successful call to `set-window-scroll-bars', or nil if there | ||
| 8097 | was none. | ||
| 8098 | |||
| 8099 | If WIDTH or HEIGHT is nil or VERTICAL-TYPE or HORIZONTAL-TYPE is t, | ||
| 8100 | WINDOW is using the corresponding value specified for the frame. */) | ||
| 8092 | (Lisp_Object window) | 8101 | (Lisp_Object window) |
| 8093 | { | 8102 | { |
| 8094 | struct window *w = decode_live_window (window); | 8103 | struct window *w = decode_live_window (window); |