Function: forge-pullreq-at-point
forge-pullreq-at-point is a natively compiled function defined in
forge-pullreq.el.
Signature
(forge-pullreq-at-point &optional DEMAND)
Documentation
Return the pull-request at point.
If there is no such pull-request 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-pullreq.el
(defun forge-pullreq-at-point (&optional demand)
"Return the pull-request at point.
If there is no such pull-request and DEMAND is non-nil, then signal
an error."
(or (thing-at-point 'forge-pullreq)
(magit-section-value-if 'pullreq)
(forge-get-pullreq :branch)
(and demand (user-error "No pull-request at point"))))