Function: jinx--regexp-excluded-p

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

Signature

(jinx--regexp-excluded-p POS)

Documentation

Return non-nil if word at POS matches a regexp from jinx-exclude-regexps.

Source Code

;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
;;;; Predicates

(defun jinx--regexp-excluded-p (pos)
  "Return non-nil if word at POS matches a regexp from `jinx-exclude-regexps'."
  (save-excursion
    (goto-char pos)
    (when (and jinx--exclude-regexp (looking-at-p jinx--exclude-regexp))
      (save-match-data
        (looking-at jinx--exclude-regexp)
        (match-end 0)))))