diff options
author | Glenn Morris <rgm@gnu.org> | 2012-11-10 18:22:26 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-11-10 18:22:26 -0800 |
commit | a1d3e07e2896faadfd56b35a8c5f775353f39058 (patch) | |
tree | ce80d40f5185bf061a2de4066e8fd0dd759d08aa /lisp/ibuffer.el | |
parent | 84acf328502d00e789b0d5777df955337cbb1dbf (diff) | |
download | emacs-a1d3e07e2896faadfd56b35a8c5f775353f39058.tar.gz |
Add ibuffer-filter-by-derived-mode to ibuffer menu and doc
* lisp/ibuffer.el (ibuffer-mode-map, ibuffer-mode):
Add ibuffer-filter-by-derived-mode.
* etc/NEWS: Related markup.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r-- | lisp/ibuffer.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index e5d9910a186..72ca189e9d5 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -636,6 +636,9 @@ directory, like `default-directory'." (define-key-after map [menu-bar view filter filter-by-used-mode] '(menu-item "Add filter by a major mode in use..." ibuffer-filter-by-used-mode)) + (define-key-after map [menu-bar view filter filter-by-derived-mode] + '(menu-item "Add filter by derived mode..." + ibuffer-filter-by-derived-mode)) (define-key-after map [menu-bar view filter filter-by-name] '(menu-item "Add filter by buffer name..." ibuffer-filter-by-name)) (define-key-after map [menu-bar view filter filter-by-filename] @@ -2438,8 +2441,9 @@ Marking commands: Filtering commands: - '\\[ibuffer-filter-by-mode]' - Add a filter by major mode. - '\\[ibuffer-filter-by-used-mode]' - Add a filter by major mode now in use. + '\\[ibuffer-filter-by-mode]' - Add a filter by any major mode. + '\\[ibuffer-filter-by-used-mode]' - Add a filter by a major mode now in use. + '\\[ibuffer-filter-by-derived-mode]' - Add a filter by derived mode. '\\[ibuffer-filter-by-name]' - Add a filter by buffer name. '\\[ibuffer-filter-by-content]' - Add a filter by buffer content. '\\[ibuffer-filter-by-filename]' - Add a filter by filename. |