Function: forge-issue-at-point

forge-issue-at-point is a natively compiled function defined in forge-issue.el.

Signature

(forge-issue-at-point &optional DEMAND)

Documentation

Return the issue at point.

If there is no such issue 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-issue.el
(defun forge-issue-at-point (&optional demand)
  "Return the issue at point.
If there is no such issue and DEMAND is non-nil, then signal
an error."
  (or (thing-at-point 'forge-issue)
      (magit-section-value-if 'issue)
      (and demand (user-error "No issue at point"))))