branch: externals/transient commit 7f6c39c55eb959d27c5ee854991f9de4e8ba32a1 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
transient-scope: New function --- lisp/transient.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/transient.el b/lisp/transient.el index fbf46366cb..9d8031bfd5 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -3516,6 +3516,10 @@ the option does not appear in ARGS." (or (match-string 1 match) ""))) (and (member arg args) t))) +(defun transient-scope () + "Return the value of the `scope' slot of the current prefix." + (oref (transient-prefix-object) scope)) + ;;; History (cl-defgeneric transient--history-key (obj)