aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorGlenn Morris2019-03-20 13:47:07 -0700
committerGlenn Morris2019-03-20 13:47:07 -0700
commit1fc6afbdf1ce0f8b23780bd4d2630ed49f365013 (patch)
tree515068805cee7b3c5c7fff7e924c2594b2572764 /src/window.c
parent99b3d64e54bb896e7b35567ac7022f9d3fb16bbb (diff)
parent24b6e6edcfe034f76de475657cb3997821cfd1f0 (diff)
downloademacs-1fc6afbdf1ce0f8b23780bd4d2630ed49f365013.tar.gz
emacs-1fc6afbdf1ce0f8b23780bd4d2630ed49f365013.zip
Merge from origin/emacs-26
24b6e6e (origin/emacs-26) * etc/AUTHORS: Update. 2f22a17 * ; ChangeLog.3 update 0f523de Improve indexing of the user manual bd5795e Fix url-copy-file arglist eaa188a ; * admin/notes/bugtracker: Minor additions and updates. 5ed05fb Fix downloading updates for packages with non-ASCII descriptions e9f2d1f * etc/NEWS: Remove temporary markers. 24fc133 * doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -... 0f325d1 Don't clobber 'comint-input-autoexpand' in 'read-shell-command' bc75589 Document restrictions when setting window margins, fringes or... cc4cebf More improvements for 'read-buffer's doc string d026d9a * lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for E... 5dbf08b * src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749) # Conflicts: # etc/NEWS # lisp/url/url-handlers.el
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 85d7bcade94..be338c2af61 100644
--- a/src/window.c
+++ b/src/window.c
@@ -7481,7 +7481,9 @@ reserve for the left marginal area. Optional third arg RIGHT-WIDTH
7481does the same for the right marginal area. A nil width parameter 7481does the same for the right marginal area. A nil width parameter
7482means no margin. 7482means no margin.
7483 7483
7484Return t if any margin was actually changed and nil otherwise. */) 7484Leave margins unchanged if WINDOW is not large enough to accommodate
7485margins of the desired width. Return t if any margin was actually
7486changed and nil otherwise. */)
7485 (Lisp_Object window, Lisp_Object left_width, Lisp_Object right_width) 7487 (Lisp_Object window, Lisp_Object left_width, Lisp_Object right_width)
7486{ 7488{
7487 struct window *w = set_window_margins (decode_live_window (window), 7489 struct window *w = set_window_margins (decode_live_window (window),
@@ -7563,11 +7565,14 @@ the left fringe. Optional third arg RIGHT-WIDTH specifies the right
7563fringe width. If a fringe width arg is nil, that means to use the 7565fringe width. If a fringe width arg is nil, that means to use the
7564frame's default fringe width. Default fringe widths can be set with 7566frame's default fringe width. Default fringe widths can be set with
7565the command `set-fringe-style'. 7567the command `set-fringe-style'.
7568
7566If optional fourth arg OUTSIDE-MARGINS is non-nil, draw the fringes 7569If optional fourth arg OUTSIDE-MARGINS is non-nil, draw the fringes
7567outside of the display margins. By default, fringes are drawn between 7570outside of the display margins. By default, fringes are drawn between
7568display marginal areas and the text area. 7571display marginal areas and the text area.
7569 7572
7570Return t if any fringe was actually changed and nil otherwise. */) 7573Leave fringes unchanged if WINDOW is not large enough to accommodate
7574fringes of the desired width. Return t if any fringe was actually
7575changed and nil otherwise. */)
7571 (Lisp_Object window, Lisp_Object left_width, 7576 (Lisp_Object window, Lisp_Object left_width,
7572 Lisp_Object right_width, Lisp_Object outside_margins) 7577 Lisp_Object right_width, Lisp_Object outside_margins)
7573{ 7578{
@@ -7692,6 +7697,8 @@ horizontal scroll bar: bottom, nil, or t where nil means to not display
7692a horizontal scroll bar on WINDOW and t means to use WINDOW frame's 7697a horizontal scroll bar on WINDOW and t means to use WINDOW frame's
7693horizontal scroll bar type. 7698horizontal scroll bar type.
7694 7699
7700If WINDOW is not large enough to accommodate a scroll bar of the
7701desired dimension, leave the corresponding scroll bar unchanged.
7695Return t if scroll bars were actually changed and nil otherwise. */) 7702Return t if scroll bars were actually changed and nil otherwise. */)
7696 (Lisp_Object window, Lisp_Object width, Lisp_Object vertical_type, 7703 (Lisp_Object window, Lisp_Object width, Lisp_Object vertical_type,
7697 Lisp_Object height, Lisp_Object horizontal_type) 7704 Lisp_Object height, Lisp_Object horizontal_type)