Function: corfu-prompt-end
corfu-prompt-end is an interactive and byte-compiled function defined
in corfu.el.
Signature
(corfu-prompt-end ARG)
Documentation
Move to end of the prompt line.
If the point is already the end of the prompt move to the end of the line. If ARG is not 1 or nil, move forward ARG - 1 lines first.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defun corfu-prompt-end (arg)
"Move to end of the prompt line.
If the point is already the end of the prompt move to the end of
the line. If ARG is not 1 or nil, move forward ARG - 1 lines
first."
(interactive "^p")
(let ((end (cadr completion-in-region--data)))
(if (or (not (eq arg 1))
(and (= corfu--preselect corfu--index) (= (point) end)))
(move-end-of-line arg)
(corfu--goto -1)
(goto-char end))))