summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2020-10-30 11:13:34 -0300
committerMauro Aranda <maurooaranda@gmail.com>2020-10-31 17:07:59 -0300
commitc307c9648d541338814fe541389ea8c7a1cf50a5 (patch)
tree2db7d87075b2c7d31f4adb876c669edd5bf90e1b
parent80a87af1357492b16a057c1f31d0e9a8b501d7d0 (diff)
downloademacs-c307c9648d541338814fe541389ea8c7a1cf50a5.tar.gz
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)
-rw-r--r--lisp/faces.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 0ce95322703..728f8b0fe67 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)