# HG changeset patch # User Martin Rudalics # Date 1226067246 0 # Node ID 910601b61dec2f0d57c761f35fa892950d915b63 # Parent 41f1c826b6d57347874a1a154e2428316e411e24 (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. diff -r 41f1c826b6d5 -r 910601b61dec doc/lispref/windows.texi --- 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