diff options
| author | Richard M. Stallman | 2001-11-01 19:32:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-01 19:32:39 +0000 |
| commit | 6a0d92d35debd0244c413bc5b2787a436a2c9023 (patch) | |
| tree | 5b56cbdfe373e16921651f6f4371a2d5898149c4 | |
| parent | 72eb5fc741e1b76818f4f405a6b0c1d087a6287c (diff) | |
| download | emacs-6a0d92d35debd0244c413bc5b2787a436a2c9023.tar.gz emacs-6a0d92d35debd0244c413bc5b2787a436a2c9023.zip | |
(buffer-menu): Doc fix.
(buffer-menu-other-window): Doc fix.
(list-buffers, list-buffers-noselect): Doc fix.
| -rw-r--r-- | lisp/buff-menu.el | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index a5c43d1c60f..ea8a4ba914a 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -177,7 +177,17 @@ Letters do not insert themselves; instead, they are commands. | |||
| 177 | "Make a menu of buffers so you can save, delete or select them. | 177 | "Make a menu of buffers so you can save, delete or select them. |
| 178 | With argument, show only buffers that are visiting files. | 178 | With argument, show only buffers that are visiting files. |
| 179 | Type ? after invocation to get help on commands available. | 179 | Type ? after invocation to get help on commands available. |
| 180 | Type q immediately to make the buffer menu go away." | 180 | Type q to remove the buffer menu from the display. |
| 181 | |||
| 182 | The first column shows `>' for a buffer you have | ||
| 183 | marked to be displayed, `D' for one you have marked for | ||
| 184 | deletion, and `.' for the current buffer. | ||
| 185 | |||
| 186 | The M column has a `*' if it is modified, | ||
| 187 | or `S' if you have marked it for saving. | ||
| 188 | The R column has a `%' if the buffer is read-only. | ||
| 189 | After this come the buffer name, its size in characters, | ||
| 190 | its major mode, and the visited file name (if any)." | ||
| 181 | (interactive "P") | 191 | (interactive "P") |
| 182 | ;;; (setq Buffer-menu-window-config (current-window-configuration)) | 192 | ;;; (setq Buffer-menu-window-config (current-window-configuration)) |
| 183 | (switch-to-buffer (list-buffers-noselect arg)) | 193 | (switch-to-buffer (list-buffers-noselect arg)) |
| @@ -189,7 +199,8 @@ Type q immediately to make the buffer menu go away." | |||
| 189 | With the buffer list buffer, you can save, delete or select the buffers. | 199 | With the buffer list buffer, you can save, delete or select the buffers. |
| 190 | With argument, show only buffers that are visiting files. | 200 | With argument, show only buffers that are visiting files. |
| 191 | Type ? after invocation to get help on commands available. | 201 | Type ? after invocation to get help on commands available. |
| 192 | Type q immediately to make the buffer menu go away." | 202 | Type q to remove the buffer menu from the display. |
| 203 | For more information, see the function `buffer-menu'." | ||
| 193 | (interactive "P") | 204 | (interactive "P") |
| 194 | ;;; (setq Buffer-menu-window-config (current-window-configuration)) | 205 | ;;; (setq Buffer-menu-window-config (current-window-configuration)) |
| 195 | (switch-to-buffer-other-window (list-buffers-noselect arg)) | 206 | (switch-to-buffer-other-window (list-buffers-noselect arg)) |
| @@ -469,8 +480,7 @@ The list is displayed in a buffer named `*Buffer List*'. | |||
| 469 | Note that buffers with names starting with spaces are omitted. | 480 | Note that buffers with names starting with spaces are omitted. |
| 470 | Non-null optional arg FILES-ONLY means mention only file buffers. | 481 | Non-null optional arg FILES-ONLY means mention only file buffers. |
| 471 | 482 | ||
| 472 | The M column contains a * for buffers that are modified. | 483 | For more information, see the function `buffer-menu'." |
| 473 | The R column contains a % for buffers that are read-only." | ||
| 474 | (interactive "P") | 484 | (interactive "P") |
| 475 | (display-buffer (list-buffers-noselect files-only))) | 485 | (display-buffer (list-buffers-noselect files-only))) |
| 476 | 486 | ||
| @@ -480,8 +490,7 @@ The buffer is named `*Buffer List*'. | |||
| 480 | Note that buffers with names starting with spaces are omitted. | 490 | Note that buffers with names starting with spaces are omitted. |
| 481 | Non-null optional arg FILES-ONLY means mention only file buffers. | 491 | Non-null optional arg FILES-ONLY means mention only file buffers. |
| 482 | 492 | ||
| 483 | The M column contains a * for buffers that are modified. | 493 | For more information, see the function `buffer-menu'." |
| 484 | The R column contains a % for buffers that are read-only." | ||
| 485 | (let ((old-buffer (current-buffer)) | 494 | (let ((old-buffer (current-buffer)) |
| 486 | (standard-output standard-output) | 495 | (standard-output standard-output) |
| 487 | desired-point) | 496 | desired-point) |