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)
This commit is contained in:
parent
a725592db8
commit
9d302640be
1 changed files with 4 additions and 4 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue