]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix `g' in *grep* after `A' in Dired
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Apr 2022 10:27:39 +0000 (12:27 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Apr 2022 10:27:39 +0000 (12:27 +0200)
* lisp/dired-aux.el (dired-do-find-regexp): Allow `g' to work in
the resulting grep buffer by not being destructive (bug#55157).

lisp/dired-aux.el

index 8170c7a0842dbf1311fce0d669442d116fa680e8..c2a7086146fbc2b29338feeee7ef709183170e46 100644 (file)
@@ -3335,7 +3335,7 @@ REGEXP should use constructs supported by your local `grep' command."
                                   (project--files-in-directory mark ignores "*")
                                   files))
                    (push mark files)))
-               (nreverse marks))
+               (reverse marks))
               (message "Searching...")
               (setq xrefs
                     (xref-matches-in-files regexp files))