Function: orderless-all-completions

orderless-all-completions is an autoloaded and byte-compiled function defined in orderless.el.

Signature

(orderless-all-completions STRING TABLE PRED POINT)

Documentation

Split STRING into components and find entries TABLE matching all.

The predicate PRED is used to constrain the entries in TABLE. The matching portions of each candidate are highlighted. This function is part of the orderless completion style.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
;;;###autoload
(defun orderless-all-completions (string table pred _point)
  "Split STRING into components and find entries TABLE matching all.
The predicate PRED is used to constrain the entries in TABLE.  The
matching portions of each candidate are highlighted.
This function is part of the `orderless' completion style."
  (pcase-let ((`(,prefix ,regexps ,ignore-case ,pred)
               (orderless--compile string table pred)))
    (when-let* ((completions (orderless--filter prefix regexps ignore-case table pred)))
      (if completion-lazy-hilit
          (setq completion-lazy-hilit-fn
                (apply-partially #'orderless--highlight regexps ignore-case))
        (cl-loop for str in-ref completions do
                 (setf str (orderless--highlight regexps ignore-case (substring str)))))
      (nconc completions (length prefix)))))