]> code.delx.au - gnu-emacs/blobdiff - lispref/windows.texi
(init_process): Only provide make-network-process feature and
[gnu-emacs] / lispref / windows.texi
index cdc4ada392f0b172a97414c82508a6a58006d480..3d828f4db5ee13078397cb62ba3d658976ceedbe 100644 (file)
@@ -419,7 +419,8 @@ The return value is @var{window}.
 
 @defmac save-selected-window forms@dots{}
 This macro records the selected window, executes @var{forms}
 
 @defmac save-selected-window forms@dots{}
 This macro records the selected window, executes @var{forms}
-in sequence, then restores the earlier selected window.
+in sequence, then restores the earlier selected window (unless that
+window is no longer alive).
 
 This macro does not save or restore anything about the sizes, arrangement
 or contents of windows; therefore, if the @var{forms} change them,
 
 This macro does not save or restore anything about the sizes, arrangement
 or contents of windows; therefore, if the @var{forms} change them,
@@ -767,7 +768,7 @@ List}.
 
 The @code{switch-to-buffer} function is often used interactively, as
 the binding of @kbd{C-x b}.  It is also used frequently in programs.  It
 
 The @code{switch-to-buffer} function is often used interactively, as
 the binding of @kbd{C-x b}.  It is also used frequently in programs.  It
-always returns @code{nil}.
+returns the buffer that it switched to.
 @end deffn
 
 @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord
 @end deffn
 
 @deffn Command switch-to-buffer-other-window buffer-or-name &optional norecord
@@ -790,7 +791,7 @@ unless @var{norecord} is non-@code{nil}.
 This function makes @var{buffer-or-name} the current buffer and
 switches to it in some window, preferably not the window previously
 selected.  The ``popped-to'' window becomes the selected window within
 This function makes @var{buffer-or-name} the current buffer and
 switches to it in some window, preferably not the window previously
 selected.  The ``popped-to'' window becomes the selected window within
-its frame.
+its frame.  The return value is the buffer that was switched to.
 
 If the variable @code{pop-up-frames} is non-@code{nil},
 @code{pop-to-buffer} looks for a window in any visible frame already
 
 If the variable @code{pop-up-frames} is non-@code{nil},
 @code{pop-to-buffer} looks for a window in any visible frame already
@@ -1547,10 +1548,10 @@ reduce the net horizontal scroll to zero.  There is no limit to how far
 left you can scroll, but eventually all the text will disappear off the
 left edge.
 
 left you can scroll, but eventually all the text will disappear off the
 left edge.
 
-@vindex automatic-hscrolling
+@vindex auto-hscroll-mode
   In Emacs 21, redisplay automatically alters the horizontal scrolling
 of a window as necessary to ensure that point is always visible, if
   In Emacs 21, redisplay automatically alters the horizontal scrolling
 of a window as necessary to ensure that point is always visible, if
-@code{automatic-hscrolling} is set.  However, you can still set the
+@code{auto-hscroll-mode} is set.  However, you can still set the
 horizontal scrolling value explicitly.  The value you specify serves as
 a lower bound for automatic scrolling, i.e. automatic scrolling
 will not scroll a window to a column less than the specified one.
 horizontal scrolling value explicitly.  The value you specify serves as
 a lower bound for automatic scrolling, i.e. automatic scrolling
 will not scroll a window to a column less than the specified one.