Skip to content

Commit

Permalink
[WIP] transient-init-scope: Add stub method for prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 21, 2024
1 parent 34f1ea1 commit 03f9829
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -2146,6 +2146,7 @@ value. Otherwise return CHILDREN as is."
transient-default-level)
params))))
(transient--setup-recursion obj)
(transient-init-scope obj)
(transient-init-value obj)
obj))

Expand Down Expand Up @@ -3202,6 +3203,9 @@ This function is called for all suffix commands, but unless a
concrete method is implemented this falls through to the default
implementation, which is a noop.")

(cl-defmethod transient-init-scope ((_ transient-prefix))
"Noop." nil)

(cl-defmethod transient-init-scope ((_ transient-suffix))
"Noop." nil)

Expand Down

0 comments on commit 03f9829

Please sign in to comment.