aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Mackenzie2016-03-10 11:46:36 +0000
committerAlan Mackenzie2016-03-10 11:46:36 +0000
commitae6dc08e0c5961cd10469eefb3c78f6e8c14158b (patch)
tree20724aaa6651a07bd46f917169c288123ef9bb71 /doc
parentf7adb8a4efa6b95d63433728c1dd0353cde6a2e4 (diff)
parent2d382515bfdb44d585bda6515f8d03f9056a83ef (diff)
downloademacs-ae6dc08e0c5961cd10469eefb3c78f6e8c14158b.tar.gz
emacs-ae6dc08e0c5961cd10469eefb3c78f6e8c14158b.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index f215eb727a5..bb13934fb3a 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2409,6 +2409,23 @@ visible and, unless @var{alist} contains an @code{inhibit-switch-frame}
2409entry (@pxref{Choosing Window Options}), raises that frame if necessary. 2409entry (@pxref{Choosing Window Options}), raises that frame if necessary.
2410@end defun 2410@end defun
2411 2411
2412@defun display-buffer-reuse-mode-window buffer alist
2413This function tries to display @var{buffer} by finding a window
2414that is displaying a buffer in a given mode.
2415
2416If @var{alist} contains a @code{mode} entry, its value is a major mode
2417(a symbol) or a list of major modes. If @var{alist} contains no
2418@code{mode} entry, the current major mode of @var{buffer} is used. A
2419window is a candidate if it displays a buffer that derives from one of
2420the given modes.
2421
2422The behaviour is also controlled by entries for
2423@code{inhibit-same-window}, @code{reusable-frames} and
2424@code{inhibit-switch-frame} as is done in the function
2425@code{display-buffer-reuse-window}.
2426
2427@end defun
2428
2412@defun display-buffer-pop-up-frame buffer alist 2429@defun display-buffer-pop-up-frame buffer alist
2413This function creates a new frame, and displays the buffer in that 2430This function creates a new frame, and displays the buffer in that
2414frame's window. It actually performs the frame creation by calling 2431frame's window. It actually performs the frame creation by calling