summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--corfu.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/corfu.el b/corfu.el
index e9570e1..7df2724 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))