summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-01-09 16:07:30 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-01-09 16:07:30 -0500
commit732eb50a1daa31d6d86190815e7e0833a2a78c27 (patch)
tree577e8eed6d360d52e1e915414f8081d6f43b46cf
parent895123f56682ed3fa9d210b1e6cfed0b3857b3e2 (diff)
downloademacs-732eb50a1daa31d6d86190815e7e0833a2a78c27.tar.gz
* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/comint.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 743aa573957..d359fa927bc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/comint.el b/lisp/comint.el
index bd563ee4592..bfee8e35c9c 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -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)