Function: completion--move-to-candidate-end

completion--move-to-candidate-end is a byte-compiled function defined in simple.el.gz.

Signature

(completion--move-to-candidate-end)

Documentation

If in a completion candidate, move point to its end.

More precisely, point moves the the position immediately after the last character of the completion candidate.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun completion--move-to-candidate-end ()
  "If in a completion candidate, move point to its end.
More precisely, point moves the the position immediately after the last
character of the completion candidate."
  (when (get-text-property (point) 'mouse-face)
    (goto-char (or (next-single-property-change (point) 'mouse-face)
                   (point-max)))))