Function: forge--scope

forge--scope is a natively compiled function defined in forge-commands.el.

Signature

(forge--scope &optional KEY)

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-commands.el
(defun forge--scope (&optional key)
  ;; `transient-scope' itself should probably offer optional KEY.
  (let ((scope (transient-scope)))
    (if key (alist-get key scope) scope)))