summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKan-Ru Chen <kanru@kanru.info>2014-09-12 08:26:46 +0200
committerMartin Rudalics <rudalics@gmx.at>2014-09-12 08:26:46 +0200
commitc4ea7c96121ec50db8dbfcb4bfe961f23760e3f9 (patch)
tree657abba4c5b1d062a5c21b959b3305d5f30506d8
parentab10393e755d0e263760672e0af60287fe472bb7 (diff)
downloademacs-c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9.tar.gz
Fix fit-window-to-buffer doc-string.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/window.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 46cb4ba0d68..822abf9c0fe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-12 Kan-Ru Chen <kanru@kanru.info>
+
+ * window.el (fit-window-to-buffer): Doc fix.
+
2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
* desktop.el (desktop-create-buffer): Check that buffers are still live
diff --git a/lisp/window.el b/lisp/window.el
index c73f019870b..4dc30ff968c 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7173,7 +7173,7 @@ and header line and a bottom divider, if any.
If WINDOW is part of a horizontal combination and the value of
the option `fit-window-to-buffer-horizontally' is non-nil, adjust
-WINDOW's height. The new width of WINDOW is calculated from the
+WINDOW's width. The new width of WINDOW is calculated from the
maximum length of its buffer's lines that follow the current
start position of WINDOW. The optional argument MAX-WIDTH
specifies a maximum width and defaults to the width of WINDOW's