diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-12-01 21:07:47 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-12-01 21:07:47 +0100 |
| commit | e02dfa6c3599466c09176fb35a31eb1c7ed25975 (patch) | |
| tree | d7052e22bfc0f8187f22985c0968fac1ed607867 | |
| parent | bccec99fd1e7767191c1e112596de055906c1363 (diff) | |
transient-toggle-level-limit: Use transient-prefix-object
Since this is the only use of `transient-define-suffix' in
"transient.el" itself, it might be looked at for inspiration, so use
`transient-prefix-object', instead of `transient--prefix', which in
this case would be equivalent, but is intended for internal use only.
Hopefully this helps avoiding some confusion.
| -rw-r--r-- | lisp/transient.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el index 8aa9076..ed05c2d 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -2877,7 +2877,7 @@ transient is active." (transient--all-levels-p (format "Hide suffix %s" (propertize - (format "levels > %s" (oref transient--prefix level)) + (format "levels > %s" (oref (transient-prefix-object) level)) 'face 'transient-higher-level))) ("Show all suffix levels"))) :inapt-if (lambda () (= transient-default-level transient--max-level)) |
