From 5aa4b1ba389b9ad7a986f950ba3f99d11e1bbf97 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 27 Nov 2023 05:00:00 +0100 Subject: [PATCH] transient-format(around:suffix): Fix detection of minibuffer usage --- lisp/transient.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/transient.el b/lisp/transient.el index 29fb1c1a..b235a4b2 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -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)))