Give the scroll-bar face a non-trivial spec

* lisp/faces.el (scroll-bar): Give it a non-trivial spec, so when
resetting it to its face-defface-spec, we effectively reset it.
(Bug#13476)
This commit is contained in:
Mauro Aranda 2020-10-30 11:13:34 -03:00
parent 80a87af135
commit c307c9648d

View file

@ -2716,9 +2716,11 @@ used to display the prompt text."
:group 'frames
:group 'basic-faces)
(defface scroll-bar '((t nil))
(defface scroll-bar
'((((background light)) :foreground "black")
(((background dark)) :foreground "white"))
"Basic face for the scroll bar colors under X."
:version "21.1"
:version "28.1"
:group 'frames
:group 'basic-faces)