Fix wrong candiate specification in custom grep-read-files function

Somehow mixed up the order, I suppose.
This commit is contained in:
Daniel - 2024-03-09 13:45:49 +01:00
parent a4325f30bf
commit f6c40ad619
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -538,11 +538,11 @@ entries, even if I want to use the input directly."
(files (completing-read
(format "Search for \"%s\" in files matching wildcard: "
regexp)
nil nil nil
(delete-dups
(delq nil
(append (list default default-alias default-extension)
(mapcar #'car grep-files-aliases))))
nil nil nil
'grep-files-history)))
(and files
(or (cdr (assoc files grep-files-aliases))