Skip to content

Commit

Permalink
transient-scope: Fully revert behavior with no argument
Browse files Browse the repository at this point in the history
Closes #329.
  • Loading branch information
tarsius committed Nov 25, 2024
1 parent 4de5812 commit ecdee41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -3747,8 +3747,7 @@ Return the value of the corresponding object's `scope' slot."
(and (memq (oref obj command)
(ensure-list prefix))
(oref obj scope)))
(and transient--prefix
(oref transient--prefix scope))))
(oref (transient-prefix-object) scope)))

;;; History

Expand Down

0 comments on commit ecdee41

Please sign in to comment.