Function: tuareg--point-after-comment-p

tuareg--point-after-comment-p is a natively compiled function defined in tuareg.el.

Signature

(tuareg--point-after-comment-p)

Documentation

Return non-nil if a comment precedes the point.

Source Code

;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defun tuareg--point-after-comment-p ()
  "Return non-nil if a comment precedes the point."
  (and (eq (char-before) ?\))
       (eq (char-before (1- (point))) ?*) ; implies position is in range
       (save-excursion
         (nth 4 (syntax-ppss (1- (point)))))))