Rename face: +modeline-bar -> +modeline-bar-active

It shared the name of a variable, which could be confusing.
This commit is contained in:
Henrik Lissner 2020-01-01 20:31:34 -05:00
parent 29773baa55
commit d0380c42e7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -50,7 +50,7 @@ side of the modeline, and whose CDR is the right-hand side.")
;;
;;; Faces
(defface +modeline-bar '((t (:inherit highlight)))
(defface +modeline-bar-active '((t (:inherit highlight)))
"Face used for left-most bar on the mode-line of an active window.")
(defface +modeline-bar-inactive '((t (:inherit mode-line-inactive)))
@ -186,7 +186,7 @@ LHS and RHS will accept."
(setq +modeline-bar
(+modeline--make-xpm
(and +modeline-bar-width
(face-background '+modeline-bar nil t))
(face-background '+modeline-bar-active nil t))
width height)
+modeline-inactive-bar
(+modeline--make-xpm