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

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

[elpa] externals/transient 533578b6b2 32/41: transient-information: Use


From: Jonas Bernoulli
Subject: [elpa] externals/transient 533578b6b2 32/41: transient-information: Use a space as the fake key
Date: Sun, 12 Nov 2023 20:04:09 -0500 (EST)

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

    transient-information: Use a space as the fake key
    
    Most suffix bindings are one character long.  The default `format'
    for both proper suffixes and display-only suffixes is " %k %d".
    Therefore, if we use something that is one character long as the
    face key, then things are aligned most of the time.
---
 lisp/transient.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index a246564ae9..01fd40a1fc 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -753,7 +753,8 @@ slot is non-nil."
   "Superclass for suffix command.")
 
 (defclass transient-information (transient-suffix)
-  ((format :initform " %k %d"))
+  ((format :initform " %k %d")
+   (key    :initform " "))
   "Display-only information.
 A suffix object with no associated command.")
 



reply via email to

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