* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 9 Jan 2011 21:07:30 +0000 (16:07 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 9 Jan 2011 21:07:30 +0000 (16:07 -0500)
lisp/ChangeLog
lisp/comint.el

index 743aa57..d359fa9 100644 (file)
@@ -1,5 +1,7 @@
 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
 
+       * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
+
        * wid-edit.el (visibility): Replace :on-image and :off-image
        widget properties with :on-glyph and :off-glyph, for consistency
        with the `visibility' widget.
index bd563ee..bfee8e3 100644 (file)
@@ -227,9 +227,7 @@ This variable is buffer-local."
   :group 'comint)
 
 (defface comint-highlight-prompt
-  '((((min-colors 88) (background dark)) (:foreground "cyan1"))
-    (((background dark)) (:foreground "cyan"))
-    (t (:foreground "dark blue")))
+  '((t :inherit minibuffer-prompt))
   "Face to use to highlight prompts."
   :group 'comint)