diff options
| author | Alan Mackenzie | 2016-03-10 11:46:36 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-03-10 11:46:36 +0000 |
| commit | ae6dc08e0c5961cd10469eefb3c78f6e8c14158b (patch) | |
| tree | 20724aaa6651a07bd46f917169c288123ef9bb71 /doc | |
| parent | f7adb8a4efa6b95d63433728c1dd0353cde6a2e4 (diff) | |
| parent | 2d382515bfdb44d585bda6515f8d03f9056a83ef (diff) | |
| download | emacs-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.texi | 17 |
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} | |||
| 2409 | entry (@pxref{Choosing Window Options}), raises that frame if necessary. | 2409 | entry (@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 | ||
| 2413 | This function tries to display @var{buffer} by finding a window | ||
| 2414 | that is displaying a buffer in a given mode. | ||
| 2415 | |||
| 2416 | If @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 | ||
| 2419 | window is a candidate if it displays a buffer that derives from one of | ||
| 2420 | the given modes. | ||
| 2421 | |||
| 2422 | The 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 |
| 2413 | This function creates a new frame, and displays the buffer in that | 2430 | This function creates a new frame, and displays the buffer in that |
| 2414 | frame's window. It actually performs the frame creation by calling | 2431 | frame's window. It actually performs the frame creation by calling |