diff options
| -rw-r--r-- | lisp/ibuffer.el | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 92eb068df34..89477bd919f 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2493,14 +2493,17 @@ new filter onto the stack, and the filters combine to show just | |||
| 2493 | buffers which satisfy ALL criteria on the stack. For example, suppose | 2493 | buffers which satisfy ALL criteria on the stack. For example, suppose |
| 2494 | you only want to see buffers in `emacs-lisp' mode, whose names begin | 2494 | you only want to see buffers in `emacs-lisp' mode, whose names begin |
| 2495 | with \"gnus\". You can accomplish this via: | 2495 | with \"gnus\". You can accomplish this via: |
| 2496 | `\\[ibuffer-filter-by-mode] emacs-lisp-mode RET | 2496 | |
| 2497 | \\[ibuffer-filter-by-name] ^gnus RET'. | 2497 | \\[ibuffer-filter-by-mode] emacs-lisp-mode RET |
| 2498 | \\[ibuffer-filter-by-name] ^gnus RET | ||
| 2498 | 2499 | ||
| 2499 | Additionally, you can OR the top two filters together with | 2500 | Additionally, you can OR the top two filters together with |
| 2500 | `\\[ibuffer-or-filters]'. To see all buffers in either | 2501 | `\\[ibuffer-or-filters]'. To see all buffers in either |
| 2501 | `emacs-lisp-mode' or `lisp-interaction-mode', type: | 2502 | `emacs-lisp-mode' or `lisp-interaction-mode', type: |
| 2502 | 2503 | ||
| 2503 | `\\[ibuffer-filter-by-mode] emacs-lisp-mode RET \\[ibuffer-filter-by-mode] lisp-interaction-mode RET \\[ibuffer-or-filters]'. | 2504 | \\[ibuffer-filter-by-mode] emacs-lisp-mode RET |
| 2505 | \\[ibuffer-filter-by-mode] lisp-interaction-mode RET | ||
| 2506 | \\[ibuffer-or-filters] | ||
| 2504 | 2507 | ||
| 2505 | Filters can also be saved and restored using mnemonic names: see the | 2508 | Filters can also be saved and restored using mnemonic names: see the |
| 2506 | functions `ibuffer-save-filters' and `ibuffer-switch-to-saved-filters'. | 2509 | functions `ibuffer-save-filters' and `ibuffer-switch-to-saved-filters'. |
| @@ -2518,9 +2521,10 @@ create a filter group, simply use the regular functions to create a | |||
| 2518 | filter, and then type `\\[ibuffer-filters-to-filter-group]'. | 2521 | filter, and then type `\\[ibuffer-filters-to-filter-group]'. |
| 2519 | 2522 | ||
| 2520 | A quick example will make things clearer. Suppose that one wants to | 2523 | A quick example will make things clearer. Suppose that one wants to |
| 2521 | group all of one's Emacs Lisp buffers together. To do this, type | 2524 | group all of one's Emacs Lisp buffers together. To do this, type: |
| 2522 | 2525 | ||
| 2523 | `\\[ibuffer-filter-by-mode] emacs-lisp-mode RET \\[ibuffer-filters-to-filter-group] RET emacs lisp buffers RET' | 2526 | \\[ibuffer-filter-by-mode] emacs-lisp-mode RET |
| 2527 | \\[ibuffer-filters-to-filter-group] emacs lisp buffers RET | ||
| 2524 | 2528 | ||
| 2525 | You may, of course, name the group whatever you want; it doesn't have | 2529 | You may, of course, name the group whatever you want; it doesn't have |
| 2526 | to be \"emacs lisp buffers\". Filter groups may be composed of any | 2530 | to be \"emacs lisp buffers\". Filter groups may be composed of any |