Variable: forward-comment-function
forward-comment-function is a variable defined in syntax.c.
Value
nil
Documentation
If non-nil, forward-comment delegates to this function.
Should take the same arguments and behave similarly to forward-comment.
Probably introduced at or before Emacs version 31.1.
Source Code
// Defined in /usr/src/emacs/src/syntax.c
DEFVAR_LISP ("forward-comment-function", Vforward_comment_function,
doc: /* If non-nil, `forward-comment' delegates to this function.
Should take the same arguments and behave similarly to `forward-comment'. */);