]> git.eshelyaron.com Git - emacs.git/commitdiff
(show-paren-match-face): Add dark-background variant.
authorMiles Bader <miles@gnu.org>
Wed, 7 Nov 2001 05:13:45 +0000 (05:13 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 7 Nov 2001 05:13:45 +0000 (05:13 +0000)
lisp/ChangeLog
lisp/paren.el

index c5bc990e6240c3eb7e2e9c59a2a387f850aa8939..c0951c1588a23fa94997e7345e8d21be8f2f9160 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-07  Miles Bader  <miles@gnu.org>
+
+       * paren.el (show-paren-match-face): Add dark-background variant.
+
 2001-11-06  Richard M. Stallman  <rms@gnu.org>
 
        * play/gomoku.el (gomoku): Doc fix.
index 31ede3f4e016475586025c35952e5f0c2a5ae090..fa68e26203f079d44af788cbe9b147bd2e941856 100644 (file)
@@ -1,6 +1,6 @@
 ;;; paren.el --- highlight matching paren
 
-;; Copyright (C) 1993, 1996 Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1996, 2001 Free Software Foundation, Inc.
 
 ;; Author: rms@gnu.org
 ;; Maintainer: FSF
@@ -72,8 +72,14 @@ otherwise)."
   :version "20.3")
   
 (defface show-paren-match-face
-  '((((class color)) (:background "turquoise"))
-    (t (:background "gray")))
+  '((((class color) (background light))
+     :background "turquoise")          ; looks OK on tty (becomes cyan)
+    (((class color) (background dark))
+     :background "steelblue3")         ; looks OK on tty (becomes blue)
+    (((background dark))
+     :background "grey50")
+    (t
+     :background "gray"))
   "Show Paren mode face used for a matching paren."
   :group 'faces
   :group 'paren-showing)