From c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Fri, 12 Sep 2014 08:26:46 +0200 Subject: [PATCH] Fix fit-window-to-buffer doc-string. --- lisp/ChangeLog | 4 ++++ lisp/window.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2