diff options
| author | Eli Zaretskii | 2000-08-22 14:44:10 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-08-22 14:44:10 +0000 |
| commit | f16874ce340469b83b6018558ff8199418c91efa (patch) | |
| tree | 523358d946a10561b8bcdd53714d8f60548cefd4 /man | |
| parent | 838b9528c9c0eeb32a3802b75fbaefa80eacfcc3 (diff) | |
| download | emacs-f16874ce340469b83b6018558ff8199418c91efa.tar.gz emacs-f16874ce340469b83b6018558ff8199418c91efa.zip | |
Document clone-indirect-buffer.
Diffstat (limited to 'man')
| -rw-r--r-- | man/buffers.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/man/buffers.texi b/man/buffers.texi index 2bba471ead4..2a146ff7d03 100644 --- a/man/buffers.texi +++ b/man/buffers.texi | |||
| @@ -400,6 +400,13 @@ is the analogue, for buffers, of a symbolic link between files. | |||
| 400 | @item M-x make-indirect-buffer @var{base-buffer} @key{RET} @var{indirect-name} @key{RET} | 400 | @item M-x make-indirect-buffer @var{base-buffer} @key{RET} @var{indirect-name} @key{RET} |
| 401 | Create an indirect buffer named @var{indirect-name} whose base buffer | 401 | Create an indirect buffer named @var{indirect-name} whose base buffer |
| 402 | is @var{base-buffer}. | 402 | is @var{base-buffer}. |
| 403 | @findex clone-indirect-buffer | ||
| 404 | @item M-x clone-indirect-buffer @key{RET} | ||
| 405 | Create an indirect buffer that is a twin copy of the current buffer. | ||
| 406 | @kindex C-x 4 c | ||
| 407 | @findex clone-indirect-buffer-other-window | ||
| 408 | Create an indirect buffer that is a twin copy of the current buffer, and | ||
| 409 | select it in another window (@code{clone-indirect-buffer-other-window}). | ||
| 403 | @end table | 410 | @end table |
| 404 | 411 | ||
| 405 | The text of the indirect buffer is always identical to the text of its | 412 | The text of the indirect buffer is always identical to the text of its |
| @@ -417,6 +424,20 @@ buffer, but killing an indirect buffer has no effect on its base buffer. | |||
| 417 | One way to use indirect buffers is to display multiple views of an | 424 | One way to use indirect buffers is to display multiple views of an |
| 418 | outline. @xref{Outline Views}. | 425 | outline. @xref{Outline Views}. |
| 419 | 426 | ||
| 427 | The command @kbd{M-x make-indirect-buffer} creates an indirect buffer | ||
| 428 | whose name is @var{indirect-name} and whose text is identical to that of | ||
| 429 | the buffer @var{base-buffer}. It prompts for both @var{base-buffer} and | ||
| 430 | @var{indirect-name}. | ||
| 431 | |||
| 432 | The command @kbd{M-x clone-indirect-buffer} creates an indirect buffer | ||
| 433 | whose base buffer is the current buffer, and also selects the | ||
| 434 | newly-created indirect buffer. With a numeric argument, it prompts for | ||
| 435 | the name of the indirect buffer; otherwise it defaults to the name of | ||
| 436 | the current buffer, modifying it by adding a @samp{<@var{n}>} prefix if | ||
| 437 | required. @kbd{C-x 4 c} (@code{clone-indirect-buffer-other-window}) | ||
| 438 | works like @kbd{M-x clone-indirect-buffer}, but it selects the cloned | ||
| 439 | buffer in another window. | ||
| 440 | |||
| 420 | @node Buffer Convenience | 441 | @node Buffer Convenience |
| 421 | @section Convenience Features and Customization of Buffer Handling | 442 | @section Convenience Features and Customization of Buffer Handling |
| 422 | 443 | ||