From: Lars Ingebrigtsen Date: Thu, 28 Apr 2022 10:27:39 +0000 (+0200) Subject: Fix `g' in *grep* after `A' in Dired X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2370^2~247 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c2c1976d0e8934de92b43c2f9202bdec397a6d0e;p=emacs.git 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). --- 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))