Mercurial > emacs
comparison lispref/buffers.texi @ 65051:a1cc73fd8161
(The Buffer List): Clarify the manipulation of the buffer list.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 20 Aug 2005 11:58:09 +0000 |
parents | e836425ee789 |
children | 50ae7c160214 2d92f5c9d6ae |
comparison
equal
deleted
inserted
replaced
65050:846687fa3571 | 65051:a1cc73fd8161 |
---|---|
755 | 755 |
756 @node The Buffer List | 756 @node The Buffer List |
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 |
773 recently selected @emph{in that frame}. (This order is recorded in | 776 recently selected @emph{in that frame}. (This order is recorded in |
774 @var{frame}'s @code{buffer-list} frame parameter; see @ref{Buffer | 777 @var{frame}'s @code{buffer-list} frame parameter; see @ref{Buffer |