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.

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."
  (when (and (get-text-property (point) 'mouse-face)
             (not (eobp))
             (get-text-property (1+ (point)) 'mouse-face))
    (goto-char (or (next-single-property-change (point) 'mouse-face) (point-max)))))