Function: forge-post-at-point

forge-post-at-point is a byte-compiled function defined in forge-post.el.

Signature

(forge-post-at-point &optional ASSERT)

Documentation

Return the post at point.

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

Source Code

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

(defun forge-post-at-point (&optional assert)
  "Return the post at point.
If there is no such post and DEMAND is non-nil, then signal
an error."
  (or (magit-section-value-if '(issue pullreq post))
      (and assert (user-error "There is no post at point"))))