Function: eca-chat--face-at-point-member-p
eca-chat--face-at-point-member-p is a natively compiled function
defined in eca-chat.el.
Signature
(eca-chat--face-at-point-member-p FACES)
Documentation
Return non-nil when the face text property at point includes any of FACES.
The face property may be a single symbol or a list of faces: a bare
URL wrapped in emphasis such as **https://...** carries both
markdown-plain-url-face and markdown-bold-face, so a plain eq
against a single symbol would miss it.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--face-at-point-member-p (faces)
"Return non-nil when the `face' text property at point includes any of FACES.
The `face' property may be a single symbol or a list of faces: a bare
URL wrapped in emphasis such as **https://...** carries both
`markdown-plain-url-face' and `markdown-bold-face', so a plain `eq'
against a single symbol would miss it."
(let ((prop (get-text-property (point) 'face)))
(seq-some (lambda (f) (memq f faces))
(if (listp prop) prop (list prop)))))