Function: jinx--bounds-of-word
jinx--bounds-of-word is a natively compiled function defined in
jinx.el.
Signature
(jinx--bounds-of-word)
Documentation
Return bounds of word at point.
Source Code
;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--bounds-of-word ()
"Return bounds of word at point."
(let (parse-sexp-lookup-properties case-fold-search)
(save-excursion
(save-match-data
(with-syntax-table jinx--syntax-table
(unless (looking-at-p "\\<")
(re-search-backward "\\<" nil t))
(when (re-search-forward "\\<\\w+\\>" nil t)
(cons (match-beginning 0) (match-end 0))))))))