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

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

[elpa] externals/transient a0c69e5c71 1/5: Remove "-button" suffix from


From: Jonas Bernoulli
Subject: [elpa] externals/transient a0c69e5c71 1/5: Remove "-button" suffix from face name
Date: Tue, 7 Jun 2022 11:16:52 -0400 (EDT)

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

    Remove "-button" suffix from face name
    
    I added the suffix to avoid the potential of conflict,
    but "button.el" already takes care of that internally.
---
 lisp/transient.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 98ea76eed0..edbb915bd3 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3415,7 +3415,7 @@ Optional support for popup buttons is also implemented 
here."
       (add-face-text-property 0 (length str) 'transient-inapt-suffix nil str))
     (if transient-enable-popup-navigation
         (make-text-button str nil
-                          'type 'transient-button
+                          'type 'transient
                           'command (transient--suffix-command obj))
       str)))
 
@@ -3810,7 +3810,7 @@ resumes the suspended transient.")
   (message "This command is only available if `%s' is non-nil"
            'transient-enable-popup-navigation))
 
-(define-button-type 'transient-button
+(define-button-type 'transient
   'face nil
   'keymap transient-button-map)
 



reply via email to

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