Function: orderless-prefixes

orderless-prefixes is a byte-compiled function defined in orderless.el.

Signature

(orderless-prefixes COMPONENT)

Documentation

Match a component as multiple word prefixes.

The COMPONENT is split at word endings, and each piece must match at a word boundary in the candidate. This is similar to the partial-completion completion style.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defun orderless-prefixes (component)
  "Match a component as multiple word prefixes.
The COMPONENT is split at word endings, and each piece must match
at a word boundary in the candidate.  This is similar to the
`partial-completion' completion style."
  (orderless--separated-by '(zero-or-more nonl)
    (cl-loop for prefix in (split-string component "\\>")
             collect `(seq word-boundary ,prefix))))