aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/window.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el8
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.
34If the value is`height', then only the window's height is fixed. 34If the value is `height', then only the window's height is fixed.
35If the value is `width', then only the window's width is fixed. 35If the value is `width', then only the window's width is fixed.
36Any other non-nil value fixes both the width and the height. 36Any other non-nil value fixes both the width and the height.
37Emacs won't change the size of any window displaying that buffer, 37Emacs 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.
95Value is a cons (VERTICAL . HORISONTAL) where VERTICAL specifies the 95Value is a cons (VERTICAL . HORIZONTAL) where VERTICAL specifies the
96current location of the vertical scroll-bars (left, right, or nil), 96current location of the vertical scroll-bars (left, right, or nil),
97and HORISONTAL specifies the current location of the horisontal scroll 97and HORIZONTAL specifies the current location of the horizontal scroll
98bars (top, bottom, or nil)." 98bars (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.
542Do not shrink to less than `window-min-height' lines. 542Do not shrink to less than `window-min-height' lines.
543Do nothing if the buffer contains more lines than the present window height, 543Do nothing if the buffer contains more lines than the present window height,
544or if some of the window's contents are scrolled out of view, 544or if some of the window's contents are scrolled out of view,
545or if shrinking this window would also shrink another window. 545or if shrinking this window would also shrink another window,
546or if the window is the only window of its frame." 546or if the window is the only window of its frame."
547 (interactive) 547 (interactive)
548 (when (null window) 548 (when (null window)