aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Rudalics2016-08-13 09:59:14 +0200
committerMartin Rudalics2016-08-13 09:59:14 +0200
commit6bb55a25fa77ce0f92401aa9945a506e9343aad5 (patch)
tree2e4f15e6575c626c10674649b3370b7f367df3b6 /doc
parent50548fd9afe70c43b3a0c0869f8e889b307ee917 (diff)
downloademacs-6bb55a25fa77ce0f92401aa9945a506e9343aad5.tar.gz
emacs-6bb55a25fa77ce0f92401aa9945a506e9343aad5.zip
Fix docs on `display-buffer-below-selected' (Bug#24213)
* lisp/window.el (display-buffer-below-selected): Fix doc-string (Bug#24213). * doc/lispref/windows.texi (Display Action Functions): Fix documentation of `display-buffer-below-selected'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index ad0c3237e69..7a5d1bbf166 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2524,10 +2524,17 @@ parameter; @pxref{Buffer Parameters}).
2524 2524
2525@defun display-buffer-below-selected buffer alist 2525@defun display-buffer-below-selected buffer alist
2526This function tries to display @var{buffer} in a window below the 2526This function tries to display @var{buffer} in a window below the
2527selected window. This means to either split the selected window or use 2527selected window. If there is a window below the selected one and that
2528the window below the selected one. If it does create a new window, it 2528window already displays @var{buffer}, it reuses that window.
2529will also adjust its size provided @var{alist} contains a suitable 2529
2530If there is no such window, this function tries to create a new window
2531by splitting the selected one and display @var{buffer} there. It will
2532also adjust that window's size provided @var{alist} contains a suitable
2530@code{window-height} or @code{window-width} entry, see above. 2533@code{window-height} or @code{window-width} entry, see above.
2534
2535If splitting the selected window fails and there is a non-dedicated
2536window below the selected one showing some other buffer, it uses that
2537window for showing @var{buffer}.
2531@end defun 2538@end defun
2532 2539
2533@defun display-buffer-in-previous-window buffer alist 2540@defun display-buffer-in-previous-window buffer alist