From a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 15 Sep 2015 10:22:35 +0300 Subject: [PATCH] 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) --- lisp/faces.el | 6 ++++-- 1 file 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) -- 2.39.2