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

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

[elpa] externals/transient d555d26 01/18: transient-format-description(l


From: Jonas Bernoulli
Subject: [elpa] externals/transient d555d26 01/18: transient-format-description(lisp-variable): Return string
Date: Sat, 27 Feb 2021 09:20:08 -0500 (EST)

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

    transient-format-description(lisp-variable): Return string
    
    While `transient-format' can deal with a symbol just fine,
    an around method for `transient-format-description' does not.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index fa0ad00..04ec255 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3554,7 +3554,7 @@ we stop there."
 
 (cl-defmethod transient-format-description ((obj transient-lisp-variable))
   (or (oref obj description)
-      (oref obj variable)))
+      (symbol-name (oref obj variable))))
 
 (cl-defmethod transient-format-value ((obj transient-lisp-variable))
   (propertize (prin1-to-string (oref obj value))



reply via email to

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