summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-02-28 19:59:40 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-02-28 20:01:54 +0100
commitea315bdb88eeeeeefacc5b8747bd65fac75abf4e (patch)
treeb1e799d711302cc4ffb4c7ef583fe2a3bb5d91c1 /lisp
parent2745ddbee29577b303b72238c872be275b2ebeab (diff)
transient--wrap-command: Fix precedence of suffix/group advice slots
Same as [1: f486f03c], but on the other static code path. 1: 2025-02-26 f486f03cb985475f3b94eaee5d375fdbade7f725 transient--wrap-command: Fix precedence of suffix/group advice slots
Diffstat (limited to 'lisp')
-rw-r--r--lisp/transient.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index 9bb9d34..ffa19b2 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2684,8 +2684,8 @@ value. Otherwise return CHILDREN as is.")
(if-let* ((obj (transient-suffix-object cmd))
(grp (oref obj parent))
(adv (or (oref obj advice)
- (oref grp advice)
(oref obj advice*)
+ (oref grp advice)
(oref grp advice*))))
(apply adv fn args)
(apply fn args)))