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

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

[elpa] externals/consult ef4b83cf7d 2/2: Fix consult--grep-state


From: ELPA Syncer
Subject: [elpa] externals/consult ef4b83cf7d 2/2: Fix consult--grep-state
Date: Fri, 1 Jul 2022 09:57:26 -0400 (EDT)

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

    Fix consult--grep-state
    
    Do not open file temporarily when returning
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 006f436787..e37641fcd7 100644
--- a/consult.el
+++ b/consult.el
@@ -4338,7 +4338,7 @@ FIND-FILE is the file open function, defaulting to 
`find-file'."
         (funcall open))
       (funcall jump action (consult--grep-position
                             cand
-                            (and (not (eq action 'exit)) open))))))
+                            (and (not (eq action 'return)) open))))))
 
 (defun consult--grep-group (cand transform)
   "Return title for CAND or TRANSFORM the candidate."



reply via email to

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