changeset 60162:82eaf594d12a

(escape-glyph, minibuffer-prompt, button): Add commentary for the reasons we use "type pc" in these faces.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 19 Feb 2005 13:26:00 +0000
parents b070535d2416
children 6bbab69424bc
files lisp/button.el lisp/faces.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/button.el	Sat Feb 19 13:24:16 2005 +0000
+++ b/lisp/button.el	Sat Feb 19 13:26:00 2005 +0000
@@ -50,6 +50,7 @@
 
 ;; Globals
 
+;; Use color for the MS-DOS port because it doesn't support underline.
 (defface button '((((type pc) (class color))
 		   (:foreground "lightblue"))
 		  (t :underline t))
--- a/lisp/faces.el	Sat Feb 19 13:24:16 2005 +0000
+++ b/lisp/faces.el	Sat Feb 19 13:26:00 2005 +0000
@@ -1880,6 +1880,9 @@
 
 
 (defface minibuffer-prompt '((((background dark)) :foreground "cyan")
+			     ;; Don't use blue because many users of
+			     ;; the MS-DOS port customize their
+			     ;; foreground color to be blue.
 			     (((type pc)) :foreground "magenta")
 			     (t :foreground "dark blue"))
   "Face for minibuffer prompts."
@@ -2047,6 +2050,8 @@
   :group 'basic-faces)
 
 (defface escape-glyph '((((background dark)) :foreground "cyan")
+			;; See the comment in minibuffer-prompt for
+			;; the reason not to use blue on MS-DOS.
 			(((type pc)) :foreground "magenta")
 			(t :foreground "blue"))
   "Face for characters displayed as ^-sequences or \-sequences."