changeset 31056:3d90d6c1f3b9

Document clone-indirect-buffer.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 22 Aug 2000 14:44:10 +0000
parents e763ab8fb51f
children 40ac457814bc
files man/buffers.texi
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/buffers.texi	Tue Aug 22 14:20:56 2000 +0000
+++ b/man/buffers.texi	Tue Aug 22 14:44:10 2000 +0000
@@ -400,6 +400,13 @@
 @item M-x make-indirect-buffer @var{base-buffer} @key{RET} @var{indirect-name} @key{RET}
 Create an indirect buffer named @var{indirect-name} whose base buffer
 is @var{base-buffer}.
+@findex clone-indirect-buffer
+@item M-x clone-indirect-buffer @key{RET}
+Create an indirect buffer that is a twin copy of the current buffer.
+@kindex C-x 4 c
+@findex clone-indirect-buffer-other-window
+Create an indirect buffer that is a twin copy of the current buffer, and
+select it in another window (@code{clone-indirect-buffer-other-window}).
 @end table
 
   The text of the indirect buffer is always identical to the text of its
@@ -417,6 +424,20 @@
   One way to use indirect buffers is to display multiple views of an
 outline.  @xref{Outline Views}.
 
+  The command @kbd{M-x make-indirect-buffer} creates an indirect buffer
+whose name is @var{indirect-name} and whose text is identical to that of
+the buffer @var{base-buffer}.  It prompts for both @var{base-buffer} and
+@var{indirect-name}.
+
+  The command @kbd{M-x clone-indirect-buffer} creates an indirect buffer
+whose base buffer is the current buffer, and also selects the
+newly-created indirect buffer.  With a numeric argument, it prompts for
+the name of the indirect buffer; otherwise it defaults to the name of
+the current buffer, modifying it by adding a @samp{<@var{n}>} prefix if
+required.  @kbd{C-x 4 c} (@code{clone-indirect-buffer-other-window})
+works like @kbd{M-x clone-indirect-buffer}, but it selects the cloned
+buffer in another window.
+
 @node Buffer Convenience
 @section Convenience Features and Customization of Buffer Handling