diff options
| author | Glenn Morris | 2019-03-20 13:47:07 -0700 |
|---|---|---|
| committer | Glenn Morris | 2019-03-20 13:47:07 -0700 |
| commit | 1fc6afbdf1ce0f8b23780bd4d2630ed49f365013 (patch) | |
| tree | 515068805cee7b3c5c7fff7e924c2594b2572764 /src/window.c | |
| parent | 99b3d64e54bb896e7b35567ac7022f9d3fb16bbb (diff) | |
| parent | 24b6e6edcfe034f76de475657cb3997821cfd1f0 (diff) | |
| download | emacs-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.c | 11 |
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 | |||
| 7481 | does the same for the right marginal area. A nil width parameter | 7481 | does the same for the right marginal area. A nil width parameter |
| 7482 | means no margin. | 7482 | means no margin. |
| 7483 | 7483 | ||
| 7484 | Return t if any margin was actually changed and nil otherwise. */) | 7484 | Leave margins unchanged if WINDOW is not large enough to accommodate |
| 7485 | margins of the desired width. Return t if any margin was actually | ||
| 7486 | changed 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 | |||
| 7563 | fringe width. If a fringe width arg is nil, that means to use the | 7565 | fringe width. If a fringe width arg is nil, that means to use the |
| 7564 | frame's default fringe width. Default fringe widths can be set with | 7566 | frame's default fringe width. Default fringe widths can be set with |
| 7565 | the command `set-fringe-style'. | 7567 | the command `set-fringe-style'. |
| 7568 | |||
| 7566 | If optional fourth arg OUTSIDE-MARGINS is non-nil, draw the fringes | 7569 | If optional fourth arg OUTSIDE-MARGINS is non-nil, draw the fringes |
| 7567 | outside of the display margins. By default, fringes are drawn between | 7570 | outside of the display margins. By default, fringes are drawn between |
| 7568 | display marginal areas and the text area. | 7571 | display marginal areas and the text area. |
| 7569 | 7572 | ||
| 7570 | Return t if any fringe was actually changed and nil otherwise. */) | 7573 | Leave fringes unchanged if WINDOW is not large enough to accommodate |
| 7574 | fringes of the desired width. Return t if any fringe was actually | ||
| 7575 | changed 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 | |||
| 7692 | a horizontal scroll bar on WINDOW and t means to use WINDOW frame's | 7697 | a horizontal scroll bar on WINDOW and t means to use WINDOW frame's |
| 7693 | horizontal scroll bar type. | 7698 | horizontal scroll bar type. |
| 7694 | 7699 | ||
| 7700 | If WINDOW is not large enough to accommodate a scroll bar of the | ||
| 7701 | desired dimension, leave the corresponding scroll bar unchanged. | ||
| 7695 | Return t if scroll bars were actually changed and nil otherwise. */) | 7702 | Return 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) |