Function: tuareg--end-column
tuareg--end-column is a natively compiled function defined in
tuareg.el.
Signature
(tuareg--end-column)
Documentation
Return the end-column number in a parsed OCaml message.
OCaml uses exclusive end-columns but Emacs wants them to be inclusive.
Source Code
;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
;; `tuareg--end-column' is autoloaded because it is used in the
;; compilation pattern rule above.
;;;###autoload
(defun tuareg--end-column ()
"Return the end-column number in a parsed OCaml message.
OCaml uses exclusive end-columns but Emacs wants them to be inclusive."
(and (match-beginning 7)
(+ (string-to-number (match-string 7))
;; Prior to Emacs 28, the end-column function value was incorrectly
;; off by one.
(if (>= emacs-major-version 28) -1 0))))