diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/window.el | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91a6e41860f..cec6e709c2b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-10 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.el (window-total-size): Make doc-string more | ||
| 4 | self-contained. | ||
| 5 | |||
| 1 | 2014-08-09 Martin Rudalics <rudalics@gmx.at> | 6 | 2014-08-09 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * window.el (display-buffer-below-selected): Restore original | 8 | * window.el (display-buffer-below-selected): Restore original |
diff --git a/lisp/window.el b/lisp/window.el index 09fe52dee88..c73f019870b 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -1117,8 +1117,17 @@ dumping to it." | |||
| 1117 | WINDOW must be a valid window and defaults to the selected one. | 1117 | WINDOW must be a valid window and defaults to the selected one. |
| 1118 | 1118 | ||
| 1119 | If HORIZONTAL is omitted or nil, return the total height of | 1119 | If HORIZONTAL is omitted or nil, return the total height of |
| 1120 | WINDOW, in lines, like `window-total-height'. Otherwise return | 1120 | WINDOW, in lines. If WINDOW is live, its total height includes, |
| 1121 | the total width, in columns, like `window-total-width'. | 1121 | in addition to the height of WINDOW's text, the heights of |
| 1122 | WINDOW's mode and header line and a bottom divider, if any. | ||
| 1123 | |||
| 1124 | If HORIZONTAL is non-nil, return the total width of WINDOW, in | ||
| 1125 | columns. If WINDOW is live, its total width includes, in | ||
| 1126 | addition to the width of WINDOW's text, the widths of WINDOW's | ||
| 1127 | fringes, margins, scroll bars and its right divider, if any. | ||
| 1128 | |||
| 1129 | If WINDOW is internal, return the respective size of the screen | ||
| 1130 | areas spanned by its children. | ||
| 1122 | 1131 | ||
| 1123 | Optional argument ROUND is handled as for `window-total-height' | 1132 | Optional argument ROUND is handled as for `window-total-height' |
| 1124 | and `window-total-width'." | 1133 | and `window-total-width'." |