aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStephen Leake2015-07-29 19:23:19 -0500
committerStephen Leake2015-07-29 19:23:19 -0500
commit3b9d689c2abb294250de6c690d77e9175952be72 (patch)
tree86ea017fe12739fb7145721be0f938b1e57d5ec0 /doc
parent72fea2fac543558cd2c4bd55e6f714f9f43efbc3 (diff)
downloademacs-3b9d689c2abb294250de6c690d77e9175952be72.tar.gz
emacs-3b9d689c2abb294250de6c690d77e9175952be72.zip
Add docs for display-buffer action display-buffer-use-some-frame
* lisp/window.el (display-buffer-use-some-frame): improve doc string * doc/lispref/windows.texi (Display Action Functions): add display-buffer-use-some-frame * etc/NEWS: mention display-buffer-use-some-frame
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 750397c7375..41f02aabaa8 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2301,6 +2301,23 @@ the function specified in @code{pop-up-frame-function}
2301is added to the newly created frame's parameters. 2301is added to the newly created frame's parameters.
2302@end defun 2302@end defun
2303 2303
2304@defun display-buffer-use-some-frame buffer alist
2305This function tries to ``display'' @var{buffer} by trying to find a
2306frame that meets a predicate (by default any frame other than the
2307current frame).
2308
2309If @var{alist} has a non-@code{nil} @code{`inhibit-switch-frame} entry,
2310avoid raising the frame.
2311
2312If @var{alist} has a non-nil @code{frame-predicate} entry, its value is a
2313function taking one argument (a frame), returning non-nil if the
2314frame is a candidate; this function replaces the default predicate.
2315
2316If this function chooses a window on another frame, it makes that frame
2317visible and, unless @var{alist} contains an @code{inhibit-switch-frame}
2318entry (@pxref{Choosing Window Options}), raises that frame if necessary.
2319@end defun
2320
2304@defun display-buffer-pop-up-window buffer alist 2321@defun display-buffer-pop-up-window buffer alist
2305This function tries to display @var{buffer} by splitting the largest 2322This function tries to display @var{buffer} by splitting the largest
2306or least recently-used window (typically one on the selected frame). 2323or least recently-used window (typically one on the selected frame).