From 84acf328502d00e789b0d5777df955337cbb1dbf Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 10 Nov 2012 18:18:14 -0800 Subject: [PATCH] Fix ibuffer menu typo * lisp/ibuffer.el (ibuffer-mode-map): Don't have two menu items with the same name shadowing each other. --- lisp/ChangeLog | 3 +++ lisp/ibuffer.el | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d89b0b19359..5551828c847 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-11-11 Glenn Morris + * 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. diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index c9dcff41618..e5d9910a186 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -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)) -- 2.39.5