From 9d302640bed594c8c88cc78b506bef063e1e95fe Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 21 Nov 2016 18:22:10 +0200 Subject: [PATCH] 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) --- lisp/dired.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")) -- 2.39.2