Function: corfu--match-symbol-p
corfu--match-symbol-p is a natively compiled function defined in
corfu.el.
Signature
(corfu--match-symbol-p PATTERN SYM)
Documentation
Return non-nil if SYM is matching an element of the PATTERN list.
Source Code
;; Defined in /nix/store/za087xxa0z5mirfbbagrp0qfaqnfn5wb-emacs-packages-deps/share/emacs/site-lisp/elpa/corfu-20260913.1527/corfu.el
(defun corfu--match-symbol-p (pattern sym)
"Return non-nil if SYM is matching an element of the PATTERN list."
(cl-loop with case-fold-search = nil
for x in (and (symbolp sym) pattern)
thereis (if (symbolp x)
(eq sym x)
(string-match-p x (symbol-name sym)))))