From: Kan-Ru Chen Date: Fri, 12 Sep 2014 06:26:46 +0000 (+0200) Subject: Fix fit-window-to-buffer doc-string. X-Git-Tag: emacs-24.3.94~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9;p=emacs.git Fix fit-window-to-buffer doc-string. --- 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 + + * window.el (fit-window-to-buffer): Doc fix. + 2014-09-10 Ivan Shmakov (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