aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-10-17 18:49:38 +0000
committerEli Zaretskii2001-10-17 18:49:38 +0000
commit2670cf8089bb68bebfc37de6f0dc6dcb85668442 (patch)
treef1b29a82127a786f3d69df195f7bc9b6cce2c5ad
parentc5ba561a3215c495232cfae66fa88cf6e7aae6e5 (diff)
downloademacs-2670cf8089bb68bebfc37de6f0dc6dcb85668442.tar.gz
emacs-2670cf8089bb68bebfc37de6f0dc6dcb85668442.zip
(widget-field-face, widget-single-line-field-face):
Define special colors for a tty.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/wid-edit.el11
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 98f1fd8a07c..031cdd4c4c8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,9 +1,14 @@
12001-10-17 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * wid-edit.el (widget-field-face, widget-single-line-field-face):
4 Define special colors for a tty.
5
12001-10-17 Francesco Potorti` <pot@gnu.org> 62001-10-17 Francesco Potorti` <pot@gnu.org>
2 7
3 * comint.el (comint-password-prompt-regexp): Make it less 8 * comint.el (comint-password-prompt-regexp): Make it less
4 restrictive, letting comint recognise OpenSSH2 passphrase prompts. 9 restrictive, letting comint recognise OpenSSH2 passphrase prompts.
5 10
62001-10-15 John Wiegley <johnw@gnu.org> 112001-10-17 John Wiegley <johnw@gnu.org>
7 12
8 * eshell/em-unix.el (eshell/cat): Do a quick test if something is 13 * eshell/em-unix.el (eshell/cat): Do a quick test if something is
9 a regular file, before checking if it is a directory or symlink. 14 a regular file, before checking if it is a directory or symlink.
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index dad3082ace6..71af16d28bf 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -120,7 +120,12 @@ This exists as a variable so it can be set locally in certain buffers.")
120 :type 'face 120 :type 'face
121 :group 'widget-faces) 121 :group 'widget-faces)
122 122
123(defface widget-field-face '((((class grayscale color) 123;; TTY gets special definitions here and in the next defface, because
124;; the gray colors defined for other displays cause black text on a black
125;; background, at least on light-background TTYs.
126(defface widget-field-face '((((type tty))
127 (:background "yellow3"))
128 (((class grayscale color)
124 (background light)) 129 (background light))
125 (:background "gray85")) 130 (:background "gray85"))
126 (((class grayscale color) 131 (((class grayscale color)
@@ -131,7 +136,9 @@ This exists as a variable so it can be set locally in certain buffers.")
131 "Face used for editable fields." 136 "Face used for editable fields."
132 :group 'widget-faces) 137 :group 'widget-faces)
133 138
134(defface widget-single-line-field-face '((((class grayscale color) 139(defface widget-single-line-field-face '((((type tty))
140 (:background "green3"))
141 (((class grayscale color)
135 (background light)) 142 (background light))
136 (:background "gray85")) 143 (:background "gray85"))
137 (((class grayscale color) 144 (((class grayscale color)