emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient f820ccc6b9 119/366: transient-format-value: S


From: Jonas Bernoulli
Subject: [elpa] externals/transient f820ccc6b9 119/366: transient-format-value: Support options with multiple values
Date: Tue, 25 Jan 2022 18:54:32 -0500 (EST)

branch: externals/transient
commit f820ccc6b989a3cf3ff5b10a0d7d1bcf3717d29b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient-format-value: Support options with multiple values
    
    Closes #65.
---
 lisp/transient.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index e0489c98d6..fdde318cab 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2716,7 +2716,10 @@ If the OBJ's `key' is currently unreachable, then apply 
the face
 
 (cl-defmethod transient-format-value ((obj transient-option))
   (let ((value (oref obj value)))
-    (propertize (concat (oref obj argument) value)
+    (propertize (concat (oref obj argument)
+                        (if (listp value)
+                            (mapconcat #'identity value ",")
+                          value))
                 'face (if value
                           'transient-value
                         'transient-inactive-value))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]