]> git.eshelyaron.com Git - emacs.git/commitdiff
Give feedback to the user in dired-do-find-regexp
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 22 Jun 2021 15:10:19 +0000 (17:10 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 22 Jun 2021 15:10:19 +0000 (17:10 +0200)
* lisp/dired-aux.el (dired-do-find-regexp): Give some feedback to
the user (bug#35352).

lisp/dired-aux.el

index 54cfbbad03422543d2844018648c06d7bb38a5a0..d002d1fa907f59b8fc404833b257d26f6be8304c 100644 (file)
@@ -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)))