Function: vertico-repeat--remove-long

vertico-repeat--remove-long is a byte-compiled function defined in vertico-repeat.el.

Signature

(vertico-repeat--remove-long SESSION)

Documentation

Remove overly long candidate from SESSION.

Source Code

;; Defined in ~/.emacs.d/elpa/vertico-20260913.1525/vertico-repeat.el
(defun vertico-repeat--remove-long (session)
  "Remove overly long candidate from SESSION."
  (when-let* ((cand (caddr session))
              ((and (stringp cand) (length> cand 200))))
    (setf (cddr session) (cdddr session)))
  session)