changeset 99441:910601b61dec

(Displaying Buffers): For switch-to-buffer mention that it may fall back on pop-to-buffer. (Window Point): Add entry for window-point-insertion-type.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 07 Nov 2008 14:14:06 +0000
parents 41f1c826b6d5
children 31562beedae9
files doc/lispref/windows.texi
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/windows.texi	Fri Nov 07 13:13:05 2008 +0000
+++ b/doc/lispref/windows.texi	Fri Nov 07 14:14:06 2008 +0000
@@ -790,6 +790,12 @@
 name is created.  The major mode for the new buffer is set according to
 the variable @code{default-major-mode}, @xref{Auto Major Mode}.
 
+When @code{enable-recursive-minibuffers} is non-@code{nil} and the
+selected window is either the minibuffer window or is dedicated to its
+buffer (@pxref{Dedicated Windows}), @code{switch-to-buffer} calls
+@code{pop-to-buffer} (see below) to display the buffer in some other
+window.
+
 Normally the specified buffer is put at the front of the buffer list
 (both the selected frame's buffer list and the frame-independent buffer
 list).  This affects the operation of @code{other-buffer}.  However, if
@@ -1279,6 +1285,12 @@
 this simply does @code{goto-char}.
 @end defun
 
+@defvar window-point-insertion-type
+This variable specifies the marker insertion type (@pxref{Marker
+Insertion Types}) of @code{window-point}.  The default is @code{nil},
+so @code{window-point} will stay behind text inserted there.
+@end defvar
+
 @node Window Start and End
 @section The Window Start and End Positions
 @cindex window start position