]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix menu bindings of Dired 'A' and 'Q' commands
authorEli Zaretskii <eliz@gnu.org>
Mon, 21 Nov 2016 16:22:10 +0000 (18:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 21 Nov 2016 16:22:10 +0000 (18:22 +0200)
* 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

index a4cb50533f2157ea48f78b25b4f2c60dbf2da689..2957a4aadc8f644cace93977df1fa9a89f5c231d 100644 (file)
@@ -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"))