aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2020-04-03 00:50:19 +0300
committerJuri Linkov2020-04-03 00:50:19 +0300
commitbb729496f9b699896fed8d65bf499a193a7c4886 (patch)
tree5528fa9ee9942682e29c75a863c6be95536de66e /doc
parent7e243a87904a036473c6ac87229d4ed652d1e49b (diff)
downloademacs-bb729496f9b699896fed8d65bf499a193a7c4886.tar.gz
emacs-bb729496f9b699896fed8d65bf499a193a7c4886.zip
* lisp/window.el (display-buffer): Extend doc with body-function (bug#39822)
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 00142d87dcc..af2f3acd467 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -3053,10 +3053,11 @@ action function that cares about this entry.
3053@item body-function 3053@item body-function
3054The value must be a function taking one argument (a displayed window). 3054The value must be a function taking one argument (a displayed window).
3055This function can be used to fill the displayed window's body with 3055This function can be used to fill the displayed window's body with
3056some contents. It is called @emph{after} the buffer is displayed, and 3056some contents that might depend on dimensions of the displayed window.
3057@emph{before} the entries @code{window-height}, @code{window-width} 3057It is called @emph{after} the buffer is displayed, and @emph{before}
3058and @code{preserve-size} are applied that could resize the window 3058the entries @code{window-height}, @code{window-width} and
3059to fit it to the inserted contents. 3059@code{preserve-size} are applied that could resize the window to fit
3060it to the inserted contents.
3060@end table 3061@end table
3061 3062
3062By convention, the entries @code{window-height}, @code{window-width} 3063By convention, the entries @code{window-height}, @code{window-width}