diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-09-15 10:22:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-09-15 10:22:35 +0300 |
commit | a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf (patch) | |
tree | 7b58bee9f6c4338a7d75242e1f868a9926e97b2e /lisp/faces.el | |
parent | b5a3626f316d2c0f1196a9718e51462c09a14568 (diff) | |
download | emacs-a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf.tar.gz |
Make show-paren-match face visible on mono-color displays
* lisp/faces.el (show-paren-match): Use the underline face for
mono-color displays. (Bug#21481)
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 5485d80c926..cc8c04d9689 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2691,10 +2691,12 @@ It is used for characters of no fonts too." :background "turquoise") ; looks OK on tty (becomes cyan) (((class color) (background dark)) :background "steelblue3") ; looks OK on tty (becomes blue) - (((background dark)) + (((background dark) (min-colors 4)) :background "grey50") + (((background light) (min-colors 4)) + :background "gray") (t - :background "gray")) + :inherit underline)) "Face used for a matching paren." :group 'paren-showing-faces) |