Function: orderless-kwd-category

orderless-kwd-category is a byte-compiled function defined in orderless-kwd.el.

Signature

(orderless-kwd-category PRED REGEXP)

Documentation

Match candidate category against PRED and REGEXP.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20261013.1927/orderless-kwd.el
(defun orderless-kwd-category (pred regexp)
  "Match candidate category against PRED and REGEXP."
  (lambda (str)
    (when-let* ((cat (car (get-text-property 0 'multi-category str))))
      (orderless--match-p pred regexp (symbol-name cat)))))