[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c307c96: Give the scroll-bar face a non-trivial spec
From: |
Mauro Aranda |
Subject: |
master c307c96: Give the scroll-bar face a non-trivial spec |
Date: |
Sat, 31 Oct 2020 16:10:01 -0400 (EDT) |
branch: master
commit c307c9648d541338814fe541389ea8c7a1cf50a5
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Mauro Aranda <maurooaranda@gmail.com>
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)
---
lisp/faces.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/faces.el b/lisp/faces.el
index 0ce9532..728f8b0 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c307c96: Give the scroll-bar face a non-trivial spec,
Mauro Aranda <=