Function: forge-current-notification
forge-current-notification is a natively 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 /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/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"))))