1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Fix ibuffer menu typo

* lisp/ibuffer.el (ibuffer-mode-map): Don't have two menu items with
the same name shadowing each other.
This commit is contained in:
Glenn Morris 2012-11-10 18:18:14 -08:00
parent 49d0466926
commit 84acf32850
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2012-11-11 Glenn Morris <rgm@gnu.org>
* ibuffer.el (ibuffer-mode-map): Don't have two menu items with
the same name shadowing each other.
* window.el (with-temp-buffer-window): Doc tweak.
* emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.

View File

@ -632,9 +632,9 @@ directory, like `default-directory'."
'(menu-item "Disable all filtering" ibuffer-filter-disable
:enable (and (featurep 'ibuf-ext) ibuffer-filtering-qualifiers)))
(define-key-after map [menu-bar view filter filter-by-mode]
'(menu-item "Add filter by major mode..." ibuffer-filter-by-mode))
(define-key-after map [menu-bar view filter filter-by-mode]
'(menu-item "Add filter by major mode in use..."
'(menu-item "Add filter by any major mode..." ibuffer-filter-by-mode))
(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-name]
'(menu-item "Add filter by buffer name..." ibuffer-filter-by-name))