emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult e0065ae: Ensure that grep results are ordered c


From: ELPA Syncer
Subject: [elpa] externals/consult e0065ae: Ensure that grep results are ordered correctly (Fix #403)
Date: Tue, 17 Aug 2021 11:57:08 -0400 (EDT)

branch: externals/consult
commit e0065ae06478adb8f63d9aa7fba425c15ca50c5e
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Ensure that grep results are ordered correctly (Fix #403)
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 42ce162..2c8c49b 100644
--- a/consult.el
+++ b/consult.el
@@ -4102,7 +4102,7 @@ BUILDER is the command argument builder."
                   (add-text-properties 0 file-len `(face consult-file 
consult--grep-file ,file) str)
                   (put-text-property (1+ file-len) (+ 1 file-len (length 
line)) 'face 'consult-line-number str)
                   (push str result)))))
-          (funcall async result)))
+          (funcall async (nreverse result))))
        (t (funcall async action))))))
 
 (defun consult--grep-position (cand &optional find-file)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]