emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a1cbf94: Make show-paren-match face visible on mono


From: Eli Zaretskii
Subject: [Emacs-diffs] master a1cbf94: Make show-paren-match face visible on mono-color displays
Date: Tue, 15 Sep 2015 07:23:41 +0000

branch: master
commit a1cbf94359cbe0e39ff49e4f639f7dd15d17fbcf
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 5485d80..cc8c04d 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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]