Function: jinx-next
jinx-next is an interactive and natively compiled function defined in
jinx.el.
Signature
(jinx-next &optional N)
Documentation
Go to to Nth next misspelled word.
Key Bindings
jinx-correct-map M-n jinx-overlay-map M-n jinx-repeat-map M-n jinx-repeat-map n
Source Code
;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx-next (&optional n)
"Go to to Nth next misspelled word."
(interactive "p" jinx-mode)
(unless n (setq n 1))
(unless (= n 0)
(if (minibufferp)
(throw 'jinx--goto n)
(let ((ov (or (jinx--get-overlays (point-min) (point-max))
(jinx--force-overlays (point-min) (point-max)))))
(unless (or (> n 0) (<= (overlay-start (car ov)) (point) (overlay-end (car ov))))
(incf n))
(goto-char (overlay-end (nth (mod n (length ov)) ov)))
(jinx--invisible-open-permanently)))))