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

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

[elpa] externals/consult ca8e82e: Ensure that consult-line works at the


From: ELPA Syncer
Subject: [elpa] externals/consult ca8e82e: Ensure that consult-line works at the end of the buffer (Fix #321)
Date: Sun, 30 May 2021 22:57:07 -0400 (EDT)

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

    Ensure that consult-line works at the end of the buffer (Fix #321)
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 4231343..901dfee 100644
--- a/consult.el
+++ b/consult.el
@@ -2220,7 +2220,7 @@ The symbol at point is added to the future history."
     (unless candidates
       (user-error "No lines"))
     (nreverse
-     (if top
+     (if (or top (not default-cand))
          candidates
        (let ((before (cdr default-cand)))
          (setcdr default-cand nil)



reply via email to

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