diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-12-29 21:53:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-12-29 21:53:46 +0000 |
commit | 4d25144d00a10b580fbbbb708f19a5199a497a30 (patch) | |
tree | 991e8a0c81220ed6271d1f98314cd4d5ee62b4d3 /lispref/windows.texi | |
parent | dbcd9cd756728dcc2fca63b3357a080aff5a96fc (diff) | |
download | emacs-4d25144d00a10b580fbbbb708f19a5199a497a30.tar.gz |
(Choosing Window): Add same-window-p, special-display-p.
(Window Configurations): Add window-configuration-frame.
Diffstat (limited to 'lispref/windows.texi')
-rw-r--r-- | lispref/windows.texi | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi index 158ab354057..425d5601ec9 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi @@ -1027,6 +1027,14 @@ list is the regular expression, and the rest of the list says how to create the frame. See above, under @code{special-display-buffer-names}. @end defopt +@defun special-display-p buffer-name +This function returns non-@code{nil} if displaying a buffer +named @var{buffer-name} with @code{display-buffer} would +create a special frame. The value is @code{t} if it would +use the default frame paramaters, or else the specified list +of frame parameters. +@end defun + @defvar special-display-function This variable holds the function to call to display a buffer specially. It receives the buffer as an argument, and should return the window in @@ -1075,6 +1083,12 @@ the regular expressions in this list, @code{display-buffer} handles the buffer by switching to it in the selected window. @end defopt +@defun same-window-p buffer-name +This function returns @code{t} if displaying a buffer +named @var{buffer-name} with @code{display-buffer} would +put it in the selected window. +@end defun + @c Emacs 19 feature @defvar display-buffer-function This variable is the most flexible way to customize the behavior of @@ -2163,10 +2177,15 @@ regards configurations as unequal if they differ in any respect, even a saved point or mark. @end defun - Primitives to look inside of window configurations would make sense, -but none are implemented. It is not clear they are useful enough to -be worth implementing. See the file @file{winner.el} for some more -operations on windows configurations. +@defun window-configuration-frame config +This function returns the frame for which the window configuration +@var{config} was made. +@end defun + + Other primitives to look inside of window configurations would make +sense, but are not implemented because we did not need them. See the +file @file{winner.el} for some more operations on windows +configurations. @node Window Hooks @section Hooks for Window Scrolling and Changes |