Skip to content

Commit

Permalink
transient-format(around:suffix): Fix detection of minibuffer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 27, 2023
1 parent af6eb31 commit 5aa4b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -3662,7 +3662,7 @@ as a button."
(let ((str (cl-call-next-method obj)))
(when (and (cl-typep obj 'transient-infix)
(eq (oref obj command) this-original-command)
current-minibuffer-command)
(active-minibuffer-window))
(setq str (transient--add-face str 'transient-active-infix)))
(when transient--editp
(setq str (concat (let ((level (oref obj level)))
Expand Down

0 comments on commit 5aa4b1b

Please sign in to comment.