summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-28 12:27:39 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-28 12:27:39 +0200
commitc2c1976d0e8934de92b43c2f9202bdec397a6d0e (patch)
treef5d8e790af85d6692b7df8f69ed7bbfbb21a640c /lisp/dired-aux.el
parentc7d49f91dac8afeb85cb8ee2b209f7ca4b363a4d (diff)
downloademacs-c2c1976d0e8934de92b43c2f9202bdec397a6d0e.tar.gz
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).
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
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))