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

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

[elpa] externals/transient 0f39af0eef 2/5: transient-format-description(


From: Jonas Bernoulli
Subject: [elpa] externals/transient 0f39af0eef 2/5: transient-format-description(lisp-variable): Use cl-call-next-method
Date: Sun, 30 Jan 2022 17:41:27 -0500 (EST)

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

    transient-format-description(lisp-variable): Use cl-call-next-method
    
    Therefore if `description' is a function, then it is called to get
    the description string as is the case for other classes.
    
    Closes #188.
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 29293068ac..9a8c53ec9b 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3987,7 +3987,7 @@ we stop there."
            (oset obj value value)))
 
 (cl-defmethod transient-format-description ((obj transient-lisp-variable))
-  (or (oref obj description)
+  (or (cl-call-next-method obj)
       (symbol-name (oref obj variable))))
 
 (cl-defmethod transient-format-value ((obj transient-lisp-variable))



reply via email to

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