aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2014-08-10 12:41:28 +0200
committerMartin Rudalics2014-08-10 12:41:28 +0200
commitd5f2feb5818b9da8323bda683983fa7e637c47fd (patch)
tree60f00672682a9f80dff873c6ddb143139b310956
parent02e0530477b2c2fc9a4c5ff05db4ec4555b272dc (diff)
downloademacs-d5f2feb5818b9da8323bda683983fa7e637c47fd.tar.gz
emacs-d5f2feb5818b9da8323bda683983fa7e637c47fd.zip
Make doc-string of window-total-size more self-contained.
* window.el (window-total-size): Make doc-string more self-contained.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/window.el13
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 @@
12014-08-10 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (window-total-size): Make doc-string more
4 self-contained.
5
12014-08-09 Martin Rudalics <rudalics@gmx.at> 62014-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."
1117WINDOW must be a valid window and defaults to the selected one. 1117WINDOW must be a valid window and defaults to the selected one.
1118 1118
1119If HORIZONTAL is omitted or nil, return the total height of 1119If HORIZONTAL is omitted or nil, return the total height of
1120WINDOW, in lines, like `window-total-height'. Otherwise return 1120WINDOW, in lines. If WINDOW is live, its total height includes,
1121the total width, in columns, like `window-total-width'. 1121in addition to the height of WINDOW's text, the heights of
1122WINDOW's mode and header line and a bottom divider, if any.
1123
1124If HORIZONTAL is non-nil, return the total width of WINDOW, in
1125columns. If WINDOW is live, its total width includes, in
1126addition to the width of WINDOW's text, the widths of WINDOW's
1127fringes, margins, scroll bars and its right divider, if any.
1128
1129If WINDOW is internal, return the respective size of the screen
1130areas spanned by its children.
1122 1131
1123Optional argument ROUND is handled as for `window-total-height' 1132Optional argument ROUND is handled as for `window-total-height'
1124and `window-total-width'." 1133and `window-total-width'."