Function: forge-comment-at-point
forge-comment-at-point is a natively compiled function defined in
forge-post.el.
Signature
(forge-comment-at-point &optional ASSERT)
Documentation
Return the comment at point.
If there is no such comment and DEMAND is non-nil, then signal an error.
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-post.el
(defun forge-comment-at-point (&optional assert)
"Return the comment at point.
If there is no such comment and DEMAND is non-nil, then signal
an error."
(or (and (magit-section-value-if '(post))
(let ((post (oref (magit-current-section) value)))
(and (or (forge-pullreq-post-p post)
(forge-issue-post-p post))
post)))
(and assert (user-error "There is no comment at point"))))