Function: jinx--force-overlays

jinx--force-overlays is a natively compiled function defined in jinx.el.

Signature

(jinx--force-overlays START END &optional VISIBLE)

Documentation

Return misspelled word overlays between START and END, enforce checking.

If VISIBLE is non-nil, only include visible overlays.

Source Code

;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--force-overlays (start end &optional visible)
  "Return misspelled word overlays between START and END, enforce checking.
If VISIBLE is non-nil, only include visible overlays."
  (with-delayed-message (1 "Fontifying...")
    (jinx--in-base-buffer #'jit-lock-fontify-now start end))
  (with-delayed-message (1 "Checking...")
    (jinx--check-region start end))
  (or (jinx--get-overlays start end visible)
      (user-error "No misspelled word in %s"
                  (if visible "visible text"
                    (format "buffer `%s'" (buffer-name))))))