Skip to content

Commit

Permalink
transient-separator-line: Renamed from transient-separator
Browse files Browse the repository at this point in the history
Do so to avoid confusing this with `transient-delimiter'.
  • Loading branch information
tarsius committed Oct 26, 2023
1 parent 567b5d5 commit 1625ec4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1625ec4

Please sign in to comment.