Function: forge-current-notification
forge-current-notification is a byte-compiled function defined in
forge-notify.el.
Signature
(forge-current-notification &optional DEMAND)
Documentation
Return the current notification, casting a topic if necessary.
If there is no such notification and DEMAND is non-nil, then signal an error.
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-notify.el
;;;; Current
(defun forge-current-notification (&optional demand)
"Return the current notification, casting a topic if necessary.
If there is no such notification and DEMAND is non-nil, then
signal an error."
(or (magit-section-value-if 'notification)
(and$ (forge-current-topic)
(forge-get-notification $))
(and demand (user-error "No current notification"))))