diff options
Diffstat (limited to 'lisp/window.el')
| -rw-r--r-- | lisp/window.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/window.el b/lisp/window.el index c797111f111..09fac6c520f 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | 31 | ||
| 32 | (defvar window-size-fixed nil | 32 | (defvar window-size-fixed nil |
| 33 | "*Non-nil in a buffer means windows displaying the buffer are fixed-size. | 33 | "*Non-nil in a buffer means windows displaying the buffer are fixed-size. |
| 34 | If the value is`height', then only the window's height is fixed. | 34 | If the value is `height', then only the window's height is fixed. |
| 35 | If the value is `width', then only the window's width is fixed. | 35 | If the value is `width', then only the window's width is fixed. |
| 36 | Any other non-nil value fixes both the width and the height. | 36 | Any other non-nil value fixes both the width and the height. |
| 37 | Emacs won't change the size of any window displaying that buffer, | 37 | Emacs won't change the size of any window displaying that buffer, |
| @@ -92,9 +92,9 @@ If ALL-FRAMES is anything else, count only the selected frame." | |||
| 92 | 92 | ||
| 93 | (defun window-current-scroll-bars (&optional window) | 93 | (defun window-current-scroll-bars (&optional window) |
| 94 | "Return the current scroll-bar settings in window WINDOW. | 94 | "Return the current scroll-bar settings in window WINDOW. |
| 95 | Value is a cons (VERTICAL . HORISONTAL) where VERTICAL specifies the | 95 | Value is a cons (VERTICAL . HORIZONTAL) where VERTICAL specifies the |
| 96 | current location of the vertical scroll-bars (left, right, or nil), | 96 | current location of the vertical scroll-bars (left, right, or nil), |
| 97 | and HORISONTAL specifies the current location of the horisontal scroll | 97 | and HORIZONTAL specifies the current location of the horizontal scroll |
| 98 | bars (top, bottom, or nil)." | 98 | bars (top, bottom, or nil)." |
| 99 | (let ((vert (nth 2 (window-scroll-bars window))) | 99 | (let ((vert (nth 2 (window-scroll-bars window))) |
| 100 | (hor nil)) | 100 | (hor nil)) |
| @@ -542,7 +542,7 @@ If WINDOW is omitted or nil, it defaults to the selected window. | |||
| 542 | Do not shrink to less than `window-min-height' lines. | 542 | Do not shrink to less than `window-min-height' lines. |
| 543 | Do nothing if the buffer contains more lines than the present window height, | 543 | Do nothing if the buffer contains more lines than the present window height, |
| 544 | or if some of the window's contents are scrolled out of view, | 544 | or if some of the window's contents are scrolled out of view, |
| 545 | or if shrinking this window would also shrink another window. | 545 | or if shrinking this window would also shrink another window, |
| 546 | or if the window is the only window of its frame." | 546 | or if the window is the only window of its frame." |
| 547 | (interactive) | 547 | (interactive) |
| 548 | (when (null window) | 548 | (when (null window) |