Give feedback to the user in dired-do-find-regexp
* lisp/dired-aux.el (dired-do-find-regexp): Give some feedback to the user (bug#35352).
This commit is contained in:
parent
3c0b50d1fc
commit
142962a8bd
1 changed files with 2 additions and 0 deletions
|
@ -3208,10 +3208,12 @@ REGEXP should use constructs supported by your local `grep' command."
|
|||
files))
|
||||
(push mark files)))
|
||||
(nreverse marks))
|
||||
(message "Searching...")
|
||||
(setq xrefs
|
||||
(xref-matches-in-files regexp files))
|
||||
(unless xrefs
|
||||
(user-error "No matches for: %s" regexp))
|
||||
(message "Searching...done")
|
||||
xrefs))))
|
||||
(xref--show-xrefs fetcher nil)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue