branch: externals/corfu
commit 3c4a5ca79ecc937394debba47d61a78051eb7b28
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
corfu-reset: Go to end position
---
corfu.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/corfu.el b/corfu.el
index e9570e1821..7df2724d7e 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1225,6 +1225,7 @@ there hasn't been any input, then quit."
(pcase-let* ((`(,beg ,end . ,_) completion-in-region--data)
(str (buffer-substring-no-properties beg end)))
(cancel-change-group corfu--change-group)
+ (goto-char end)
(activate-change-group (setq corfu--change-group (prepare-change-group)))
;; Quit when resetting, when input did not change.
(when (equal str (buffer-substring-no-properties beg end))