Function: completions--deselect

completions--deselect is a byte-compiled function defined in minibuffer.el.gz.

Signature

(completions--deselect)

Documentation

If point is in a completion candidate, move to just after the end of it.

The candidate will still be chosen by choose-completion unless choose-completion-deselect-if-after is non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun completions--deselect ()
  "If point is in a completion candidate, move to just after the end of it.

The candidate will still be chosen by `choose-completion' unless
`choose-completion-deselect-if-after' is non-nil."
  (when (get-text-property (point) 'completion--string)
    (goto-char (or (next-single-property-change (point) 'completion--string)
                   (point-max)))))