diff options
| author | Eli Zaretskii | 2005-08-20 11:58:09 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-08-20 11:58:09 +0000 |
| commit | 7bc7ab5a68f8da1d10cf72293d47f870d607742a (patch) | |
| tree | d7f232ffdde0f55b9a66c4f639d6b4e0c9314fac | |
| parent | c3c7a1450f70e4032381aa472418eeb15dc83e54 (diff) | |
| download | emacs-7bc7ab5a68f8da1d10cf72293d47f870d607742a.tar.gz emacs-7bc7ab5a68f8da1d10cf72293d47f870d607742a.zip | |
(The Buffer List): Clarify the manipulation of the buffer list.
| -rw-r--r-- | lispref/buffers.texi | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi index b5118af6610..6204dfce339 100644 --- a/lispref/buffers.texi +++ b/lispref/buffers.texi | |||
| @@ -757,16 +757,19 @@ signal an error if the current buffer is read-only. | |||
| 757 | @section The Buffer List | 757 | @section The Buffer List |
| 758 | @cindex buffer list | 758 | @cindex buffer list |
| 759 | 759 | ||
| 760 | The @dfn{buffer list} is a list of all live buffers. Creating a | 760 | The @dfn{buffer list} is a list of all live buffers. The order of |
| 761 | buffer adds it to this list, and killing a buffer removes it. The | 761 | the buffers in the list is based primarily on how recently each buffer |
| 762 | order of the buffers in the list is based primarily on how recently | 762 | has been displayed in a window. Several functions, notably |
| 763 | each buffer has been displayed in the selected window. Buffers move | 763 | @code{other-buffer}, use this ordering. A buffer list displayed for |
| 764 | to the front of the list when they are selected (selecting a window | 764 | the user also follows this order. |
| 765 | that already displays the buffer counts as selecting the buffer), and | 765 | |
| 766 | Creating a buffer adds it to the end of the buffer list, and killing | ||
| 767 | a buffer removes it. Buffers move to the front of the list when they | ||
| 768 | are selected for display in a window (@pxref{Displaying Buffers}), and | ||
| 766 | to the end when they are buried (see @code{bury-buffer}, below). | 769 | to the end when they are buried (see @code{bury-buffer}, below). |
| 767 | Several functions, notably @code{other-buffer}, use this ordering. A | 770 | There are no functions available to the Lisp programmer which directly |
| 768 | buffer list displayed for the user also follows this order. | 771 | manipulate the buffer list. |
| 769 | 772 | ||
| 770 | In addition to the fundamental Emacs buffer list, each frame has its | 773 | In addition to the fundamental Emacs buffer list, each frame has its |
| 771 | own version of the buffer list, in which the buffers that have been | 774 | own version of the buffer list, in which the buffers that have been |
| 772 | selected in that frame come first, starting with the buffers most | 775 | selected in that frame come first, starting with the buffers most |