From ecdee415fb200937d7bb1eaf26b1bac63d3ce219 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 25 Nov 2024 06:55:52 +0100 Subject: [PATCH] transient-scope: Fully revert behavior with no argument Closes #329. --- lisp/transient.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 02f8352..bf178e3 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -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