From: Eli Zaretskii Date: Mon, 21 Nov 2016 16:22:10 +0000 (+0200) Subject: Fix menu bindings of Dired 'A' and 'Q' commands X-Git-Tag: emacs-25.1.90~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d30264;p=emacs.git Fix menu bindings of Dired 'A' and 'Q' commands * lisp/dired.el (dired-mode-map): Rebind "Search Files" and "Query Replace in Files" menu items to 'dired-do-find-regexp' and 'dired-do-find-regexp-and-replace', respectively. (Bug#24977) --- diff --git a/lisp/dired.el b/lisp/dired.el index a4cb50533f2..2957a4aadc8 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1829,11 +1829,11 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." '("--")) (define-key map [menu-bar operate query-replace] - '(menu-item "Query Replace in Files..." dired-do-query-replace-regexp - :help "Replace regexp in marked files")) + '(menu-item "Query Replace in Files..." dired-do-find-regexp-and-replace + :help "Replace regexp matches in marked files")) (define-key map [menu-bar operate search] - '(menu-item "Search Files..." dired-do-search - :help "Search marked files for regexp")) + '(menu-item "Search Files..." dired-do-find-regexp + :help "Search marked files for matches of regexp")) (define-key map [menu-bar operate isearch-regexp] '(menu-item "Isearch Regexp Files..." dired-do-isearch-regexp :help "Incrementally search marked files for regexp"))