Function: corfu-prompt-end

corfu-prompt-end is an interactive and natively 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

corfu-map <end> corfu-map C-e

Source Code

;; Defined in /nix/store/za087xxa0z5mirfbbagrp0qfaqnfn5wb-emacs-packages-deps/share/emacs/site-lisp/elpa/corfu-20260913.1527/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))))