From 533578b6b275aac8956f66459f78f8a54b1d26f6 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Thu, 2 Nov 2023 16:52:14 +0100 Subject: [PATCH] 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 a246564a..01fd40a1 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.")