aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2017-05-27 15:14:52 +0200
committerMartin Rudalics2017-05-27 15:14:52 +0200
commit704fea97e495b43e4bbd03f28d0ccc66b45e80a8 (patch)
treedd157ab5b2b2d33afe84f3037ea701e487c933aa /src
parent3fc36f427a6dfe5366fd1391fee1d037a1bd6cd7 (diff)
downloademacs-704fea97e495b43e4bbd03f28d0ccc66b45e80a8.tar.gz
emacs-704fea97e495b43e4bbd03f28d0ccc66b45e80a8.zip
Minor doc and doc-string fixes (Bug#27091)
* src/window.c (Fset_window_scroll_bars): Fix doc-string. * doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars) (Display Margins): Mention that `set-window-buffer' may override settings made by `set-window-fringes', `set-window-scroll-bars' and `set-window-margins'. * doc/lispref/windows.texi (Buffers and Windows): Fix doc of `set-window-buffer'.
Diffstat (limited to 'src')
-rw-r--r--src/window.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/window.c b/src/window.c
index fc9f40222bb..bf89f0e488b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3342,7 +3342,7 @@ run_window_size_change_functions (Lisp_Object frame)
3342/* Make WINDOW display BUFFER. RUN_HOOKS_P means it's allowed 3342/* Make WINDOW display BUFFER. RUN_HOOKS_P means it's allowed
3343 to run hooks. See make_frame for a case where it's not allowed. 3343 to run hooks. See make_frame for a case where it's not allowed.
3344 KEEP_MARGINS_P means that the current margins, fringes, and 3344 KEEP_MARGINS_P means that the current margins, fringes, and
3345 scroll-bar settings of the window are not reset from the buffer's 3345 scroll bar settings of the window are not reset from the buffer's
3346 local settings. */ 3346 local settings. */
3347 3347
3348void 3348void
@@ -7045,16 +7045,18 @@ DEFUN ("set-window-scroll-bars", Fset_window_scroll_bars,
7045WINDOW must be a live window and defaults to the selected one. 7045WINDOW must be a live window and defaults to the selected one.
7046 7046
7047Second parameter WIDTH specifies the pixel width for the vertical scroll 7047Second parameter WIDTH specifies the pixel width for the vertical scroll
7048bar. If WIDTH is nil, use the scroll-bar width of WINDOW's frame. 7048bar. If WIDTH is nil, use the scroll bar width of WINDOW's frame.
7049Third parameter VERTICAL-TYPE specifies the type of the vertical scroll 7049Third parameter VERTICAL-TYPE specifies the type of the vertical scroll
7050bar: left, right, or nil. If VERTICAL-TYPE is t, this means use the 7050bar: left, right, nil or t where nil means to not display a vertical
7051frame's scroll-bar type. 7051scroll bar on WINDOW and t means to use WINDOW frame's vertical scroll
7052bar type.
7052 7053
7053Fourth parameter HEIGHT specifies the pixel height for the horizontal 7054Fourth parameter HEIGHT specifies the pixel height for the horizontal
7054scroll bar. If HEIGHT is nil, use the scroll-bar height of WINDOW's 7055scroll bar. If HEIGHT is nil, use the scroll bar height of WINDOW's
7055frame. Fifth parameter HORIZONTAL-TYPE specifies the type of the 7056frame. Fifth parameter HORIZONTAL-TYPE specifies the type of the
7056horizontal scroll bar: nil, bottom, or t. If HORIZONTAL-TYPE is t, this 7057horizontal scroll bar: bottom, nil, or t where nil means to not display
7057means to use the frame's horizontal scroll-bar type. 7058a horizontal scroll bar on WINDOW and t means to use WINDOW frame's
7059horizontal scroll bar type.
7058 7060
7059Return t if scroll bars were actually changed and nil otherwise. */) 7061Return t if scroll bars were actually changed and nil otherwise. */)
7060 (Lisp_Object window, Lisp_Object width, Lisp_Object vertical_type, 7062 (Lisp_Object window, Lisp_Object width, Lisp_Object vertical_type,