Function: jinx--face-excluded-p

jinx--face-excluded-p is a natively compiled function defined in jinx.el.

Signature

(jinx--face-excluded-p POS)

Documentation

Return non-nil if face at POS is excluded via jinx-exclude-faces.

Source Code

;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--face-excluded-p (pos)
  "Return non-nil if face at POS is excluded via `jinx-exclude-faces'."
  (let ((face (get-text-property pos 'face)))
    (or
     (and jinx--include-faces
          (if (listp face)
              (cl-loop for f in face never (memq f jinx--include-faces))
            (not (memq face jinx--include-faces))))
     (and jinx--exclude-faces
          (if (listp face)
              (cl-loop for f in face thereis (memq f jinx--exclude-faces))
            (memq face jinx--exclude-faces))))))