From 142962a8bd9e1e4e926183a9f68a426ada91cda0 Mon Sep 17 00:00:00 2001
From: Lars Ingebrigtsen <larsi@gnus.org>
Date: Tue, 22 Jun 2021 17:10:19 +0200
Subject: [PATCH] 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).
---
 lisp/dired-aux.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 54cfbbad034..d002d1fa907 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -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)))
 
-- 
2.39.5