Mercurial > emacs
changeset 40794:3ab0eeb4df95
(show-paren-match-face): Add dark-background variant.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 07 Nov 2001 05:13:09 +0000 |
parents | 4126b1d76d8f |
children | ba08d5933963 |
files | lisp/paren.el |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/paren.el Wed Nov 07 04:35:20 2001 +0000 +++ b/lisp/paren.el Wed Nov 07 05:13:09 2001 +0000 @@ -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 @@ :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)