Function: tuareg--skip-backward-comments-semicolon

tuareg--skip-backward-comments-semicolon is a natively compiled function defined in tuareg.el.

Signature

(tuareg--skip-backward-comments-semicolon)

Documentation

Skip sticky comments and ;; after a definition.

Source Code

;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defun tuareg--skip-backward-comments-semicolon ()
  "Skip `sticky' comments and `;;' after a definition."
  ;; Comments after the definition not separated by a blank like
  ;; ("sticking") are considered part of the definition.
  (when (looking-at-p "[ \t]*(\\*")
    (skip-chars-backward " \t")
    (skip-chars-backward "\n" (1- (point))))
  (while (tuareg--skip-backward-comment))
  (skip-chars-backward " \t;"))