diff options
| author | Kan-Ru Chen | 2014-09-12 08:26:46 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2014-09-12 08:26:46 +0200 |
| commit | c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9 (patch) | |
| tree | 657abba4c5b1d062a5c21b959b3305d5f30506d8 | |
| parent | ab10393e755d0e263760672e0af60287fe472bb7 (diff) | |
| download | emacs-c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9.tar.gz emacs-c4ea7c96121ec50db8dbfcb4bfe961f23760e3f9.zip | |
Fix fit-window-to-buffer doc-string.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/window.el | 2 |
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 @@ | |||
| 1 | 2014-09-12 Kan-Ru Chen <kanru@kanru.info> | ||
| 2 | |||
| 3 | * window.el (fit-window-to-buffer): Doc fix. | ||
| 4 | |||
| 1 | 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change) | 5 | 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change) |
| 2 | 6 | ||
| 3 | * desktop.el (desktop-create-buffer): Check that buffers are still live | 7 | * 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. | |||
| 7173 | 7173 | ||
| 7174 | If WINDOW is part of a horizontal combination and the value of | 7174 | If WINDOW is part of a horizontal combination and the value of |
| 7175 | the option `fit-window-to-buffer-horizontally' is non-nil, adjust | 7175 | the option `fit-window-to-buffer-horizontally' is non-nil, adjust |
| 7176 | WINDOW's height. The new width of WINDOW is calculated from the | 7176 | WINDOW's width. The new width of WINDOW is calculated from the |
| 7177 | maximum length of its buffer's lines that follow the current | 7177 | maximum length of its buffer's lines that follow the current |
| 7178 | start position of WINDOW. The optional argument MAX-WIDTH | 7178 | start position of WINDOW. The optional argument MAX-WIDTH |
| 7179 | specifies a maximum width and defaults to the width of WINDOW's | 7179 | specifies a maximum width and defaults to the width of WINDOW's |