[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient af6eb31054 26/26: transient-format: Only high
|
From: |
Jonas Bernoulli |
|
Subject: |
[elpa] externals/transient af6eb31054 26/26: transient-format: Only highlight infix if minibuffer is used |
|
Date: |
Sun, 26 Nov 2023 19:42:12 -0500 (EST) |
branch: externals/transient
commit af6eb3105459a83c9869b0196c5b2d1b827add55
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient-format: Only highlight infix if minibuffer is used
Without this, toggling an *option* off (i.e., without using the
minibuffer) causes the use of `transient-active-infix' to stick
around.
---
lisp/transient.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index d33d5d7b75..29fb1c1ac0 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3661,7 +3661,8 @@ When `transient-enable-popup-navigation' is non-nil then
format
as a button."
(let ((str (cl-call-next-method obj)))
(when (and (cl-typep obj 'transient-infix)
- (eq (oref obj command) this-original-command))
+ (eq (oref obj command) this-original-command)
+ current-minibuffer-command)
(setq str (transient--add-face str 'transient-active-infix)))
(when transient--editp
(setq str (concat (let ((level (oref obj level)))
- [elpa] externals/transient 47d3f01d9f 17/26: Fix/improve some faces, (continued)
- [elpa] externals/transient 47d3f01d9f 17/26: Fix/improve some faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient ad7a098349 16/26: Rearrange face definitions, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient c8a9ac5124 18/26: Simplify how colors are used to indicate transient behavior, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 9f3afe94a9 19/26: transient-format(around:suffix): Reformat docstring, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 48a1aa2bea 24/26: transient-highlight-mismatched-keys: Fix docstring typos, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 46813a03f6 23/26: In support of the lovely pcase, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 307695d2df 21/26: transient-format-description(around:suffix): Combine faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 7f0215c4df 22/26: transient-format-value(option, value): Use argument faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient d834f76492 20/26: transient-format(around:suffix): Don't attempt to highlight full line, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 71d16d86f1 25/26: Improve looks of debugging faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient af6eb31054 26/26: transient-format: Only highlight infix if minibuffer is used,
Jonas Bernoulli <=