Function: forge-current-issue

forge-current-issue is a byte-compiled function defined in forge-issue.el.

Signature

(forge-current-issue &optional DEMAND)

Documentation

Return the issue at point or being visited.

If there is no such issue and DEMAND is non-nil, then signal an error.

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-issue.el
;;;; Current

(defun forge-current-issue (&optional demand)
  "Return the issue at point or being visited.
If there is no such issue and DEMAND is non-nil, then signal
an error."
  (or (forge-issue-at-point)
      (and (forge-issue-p forge-buffer-topic)
           forge-buffer-topic)
      (and demand (user-error "No current issue"))))