summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-05-24 08:48:48 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-05-24 08:48:48 +0000
commit18fde8504f25571350dbcfa7803f5a9b840e5a52 (patch)
treea722e9c725ae1b6e7f694e828239b83c538bac18
parent16b126681275cd7e365215d7b7455e544b510077 (diff)
downloademacs-18fde8504f25571350dbcfa7803f5a9b840e5a52.tar.gz
(quit-window, shrink-window-if-larger-than-buffer): Doc fixes.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/window.el5
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3665c9456ae..4d237712af3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-24 Juanma Barranquero <lekktu@gmail.com>
+
+ * window.el (quit-window, shrink-window-if-larger-than-buffer):
+ Doc fixes.
+
2005-05-24 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-inferior-io-mode-map): Bind
diff --git a/lisp/window.el b/lisp/window.el
index 8c46addf444..c797111f111 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -543,8 +543,7 @@ Do not shrink to less than `window-min-height' lines.
Do nothing if the buffer contains more lines than the present window height,
or if some of the window's contents are scrolled out of view,
or if shrinking this window would also shrink another window.
-or if the window is the only window of its frame.
-Return non-nil if the window was shrunk."
+or if the window is the only window of its frame."
(interactive)
(when (null window)
(setq window (selected-window)))
@@ -583,7 +582,7 @@ Return non-nil if the window was shrunk."
(defun quit-window (&optional kill window)
"Quit the current buffer. Bury it, and maybe delete the selected frame.
-\(The frame is deleted if it is contains a dedicated window for the buffer.)
+\(The frame is deleted if it contains a dedicated window for the buffer.)
With a prefix argument, kill the buffer instead.
Noninteractively, if KILL is non-nil, then kill the current buffer,