aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-15 10:22:35 +0300
committerEli Zaretskii2015-09-15 10:22:35 +0300
commita1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf (patch)
tree7b58bee9f6c4338a7d75242e1f868a9926e97b2e
parentb5a3626f316d2c0f1196a9718e51462c09a14568 (diff)
downloademacs-a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf.tar.gz
emacs-a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf.zip
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)
-rw-r--r--lisp/faces.el6
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."
2691 :background "turquoise") ; looks OK on tty (becomes cyan) 2691 :background "turquoise") ; looks OK on tty (becomes cyan)
2692 (((class color) (background dark)) 2692 (((class color) (background dark))
2693 :background "steelblue3") ; looks OK on tty (becomes blue) 2693 :background "steelblue3") ; looks OK on tty (becomes blue)
2694 (((background dark)) 2694 (((background dark) (min-colors 4))
2695 :background "grey50") 2695 :background "grey50")
2696 (((background light) (min-colors 4))
2697 :background "gray")
2696 (t 2698 (t
2697 :background "gray")) 2699 :inherit underline))
2698 "Face used for a matching paren." 2700 "Face used for a matching paren."
2699 :group 'paren-showing-faces) 2701 :group 'paren-showing-faces)
2700 2702