From 1625ec4971a7cd545c4292c0db1b841af8975913 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Thu, 26 Oct 2023 12:33:35 +0200 Subject: [PATCH] transient-separator-line: Renamed from transient-separator Do so to avoid confusing this with `transient-delimiter'. --- lisp/transient.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 90249f01..afc6dff4 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -511,7 +511,7 @@ This includes the parentheses around values and the pipe character used to separate possible values from each other." :group 'transient-faces) -(defface transient-separator +(defface transient-separator-line `((((class color) (background light)) ,@(and (>= emacs-major-version 27) '(:extend t)) :background "grey80") @@ -523,6 +523,9 @@ This is only used if `transient-mode-line-format' is `line'. Only the background color is significant." :group 'transient-faces) +(define-obsolete-face-alias 'transient-separator 'transient-separator-line + "transient 0.4.4") + (defgroup transient-color-faces '((transient-semantic-coloring custom-variable)) "Faces used by Transient for Hydra-like command coloring. @@ -3377,7 +3380,7 @@ have a history of their own.") (transient--prefix-color transient--prefix)))) `(,@(and (>= emacs-major-version 27) '(:extend t)) :background ,(face-foreground f)) - 'transient-separator))) + 'transient-separator-line))) (insert (propertize "__" 'face face 'display '(space :height (1)))) (insert (propertize "\n" 'face face 'line-height t)))) (when transient-force-fixed-pitch