branch: externals/transient
commit 2f011c9f1938acf6169e43f23bd61f67ac420a3a
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    transient--show-brief: Don't call kbd twice per key
    
    Fixes #10.
---
 lisp/transient.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 8a5ec4166f..09c399a2a0 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2155,8 +2155,7 @@ have a history of their own.")
                               transient-history-next
                               transient-quit-one
                               transient-toggle-common)))
-                 (list (propertize (kbd (oref suffix key))
-                                   'face 'transient-key)))))
+                 (list (propertize (oref suffix key) 'face 'transient-key)))))
         transient--suffixes)
        #'string<)
       (propertize "|" 'face 'transient-unreachable-key)))))

Reply via email to