From: Eli Zaretskii Date: Tue, 15 Sep 2015 07:22:35 +0000 (+0300) Subject: Make show-paren-match face visible on mono-color displays X-Git-Tag: emacs-25.0.90~1224^2~129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf;p=emacs.git 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) --- 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)