aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorMartin Rudalics2019-06-11 09:28:29 +0200
committerMartin Rudalics2019-06-11 09:28:29 +0200
commit5ca093d2814fe5574c720338fc64cba44357f9b3 (patch)
tree0aba0441bd9fc65b954670d0a9b2fd2ba38f139c /doc/lispref
parentadd2cac586d29c574ae4ba12a2252dce0694f1d4 (diff)
downloademacs-5ca093d2814fe5574c720338fc64cba44357f9b3.tar.gz
emacs-5ca093d2814fe5574c720338fc64cba44357f9b3.zip
Fix doc of 'display-buffer-in-previous-window' (Bug#36161)
* doc/lispref/windows.texi (Buffer Display Action Functions): * lisp/window.el (display-buffer-in-previous-window): Tell that 'display-buffer-in-previous-window' prefers non-selected windows (Bug#36161).
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/windows.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index b2dd3d99583..3116659cd03 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2597,6 +2597,9 @@ If @var{alist} has a @code{previous-window} entry and the window
2597specified by that entry is live and not dedicated to another buffer, 2597specified by that entry is live and not dedicated to another buffer,
2598that window will be preferred, even if it never showed @var{buffer} 2598that window will be preferred, even if it never showed @var{buffer}
2599before. 2599before.
2600
2601This function will not choose the selected window if it finds another
2602eligible window that has shown @var{buffer} previously.
2600@end defun 2603@end defun
2601 2604
2602@defun display-buffer-use-some-window buffer alist 2605@defun display-buffer-use-some-window buffer alist