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

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

[elpa] externals/transient c1ae1eecdd 130/366: transient-separator: Exte


From: Jonas Bernoulli
Subject: [elpa] externals/transient c1ae1eecdd 130/366: transient-separator: Extend to window edge in Emacs 27 too
Date: Tue, 25 Jan 2022 18:54:33 -0500 (EST)

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

    transient-separator: Extend to window edge in Emacs 27 too
---
 lisp/transient.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 5aa9d08aa2..f76ca8dba2 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -361,8 +361,12 @@ See info node `(transient)Enabling and Disabling 
Suffixes'."
   :group 'transient-faces)
 
 (defface transient-separator
-  '((((class color) (background light)) :background "grey80")
-    (((class color) (background  dark)) :background "grey30"))
+  `((((class color) (background light))
+     ,@(and (>= emacs-major-version 27) '(:extend t))
+     :background "grey80")
+    (((class color) (background  dark))
+     ,@(and (>= emacs-major-version 27) '(:extend t))
+     :background "grey30"))
   "Face used to draw line below transient popup window.
 This is only used if `transient-mode-line-format' is `line'.
 Only the background color is significant."



reply via email to

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