branch: externals/consult commit ca8e82e6c2cc4e5dacff70b9f4223e98e5ecd9af Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@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)