Function: forge-notification-at-point

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

Signature

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

Documentation

Return the notification at point, 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
(defun forge-notification-at-point (&optional demand)
  "Return the notification at point, 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-topic-at-point)
            (forge-get-notification $))
      (and demand (user-error "No notification at point"))))