Function: tuareg--skip-forward-comment
tuareg--skip-forward-comment is a natively compiled function defined
in tuareg.el.
Signature
(tuareg--skip-forward-comment)
Documentation
Skip forward a single comment and at most one subsequent newline.
Return a non-nil value if a comment was skipped.
Source Code
;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defun tuareg--skip-forward-comment ()
"Skip forward a single comment and at most one subsequent newline.
Return a non-nil value if a comment was skipped."
(skip-chars-forward " \t")
(let ((opoint (point)))
(skip-chars-forward "\n" (1+ (point)))
(skip-chars-forward " \t")
(if (and (char-equal (following-char) ?\() (forward-comment 1))
t
(goto-char opoint)
nil)))