branch: externals/transient
commit 0439eb80d89e51b71e71faac689b1136f180ec46
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    transient--init-suffix: Always store parent group in object
    
    Fixes #354.
    Fixes [1: 184d0074], which overlooked a highly visible code-path.
    
    1: 2024-12-19 184d0074e852af4967e386f0fc4fcfd94588d17e
       Store parent group in suffix and subgroup objects
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 46b2a695c9..6fac557708 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2341,7 +2341,7 @@ value.  Otherwise return CHILDREN as is.")
                    (unless (and cmd (symbolp cmd))
                      (error "BUG: Non-symbolic suffix command: %s" cmd))
                    (if proto
-                       (apply #'clone proto :level level args)
+                       (apply #'clone proto :parent parent :level level args)
                      (apply class :command cmd :parent parent :level level
                             args)))))
         (cond ((not cmd))

Reply via email to