From c2c1976d0e8934de92b43c2f9202bdec397a6d0e Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 28 Apr 2022 12:27:39 +0200 Subject: [PATCH] Fix `g' in *grep* after `A' in Dired * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 8170c7a0842..c2a7086146f 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -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)) -- 2.39.2