diff options
| author | Chong Yidong | 2011-01-09 16:07:30 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-09 16:07:30 -0500 |
| commit | 732eb50a1daa31d6d86190815e7e0833a2a78c27 (patch) | |
| tree | 577e8eed6d360d52e1e915414f8081d6f43b46cf | |
| parent | 895123f56682ed3fa9d210b1e6cfed0b3857b3e2 (diff) | |
| download | emacs-732eb50a1daa31d6d86190815e7e0833a2a78c27.tar.gz emacs-732eb50a1daa31d6d86190815e7e0833a2a78c27.zip | |
* lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/comint.el | 4 |
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 @@ | |||
| 1 | 2011-01-09 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-01-09 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt. | ||
| 4 | |||
| 3 | * wid-edit.el (visibility): Replace :on-image and :off-image | 5 | * wid-edit.el (visibility): Replace :on-image and :off-image |
| 4 | widget properties with :on-glyph and :off-glyph, for consistency | 6 | widget properties with :on-glyph and :off-glyph, for consistency |
| 5 | with the `visibility' widget. | 7 | 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." | |||
| 227 | :group 'comint) | 227 | :group 'comint) |
| 228 | 228 | ||
| 229 | (defface comint-highlight-prompt | 229 | (defface comint-highlight-prompt |
| 230 | '((((min-colors 88) (background dark)) (:foreground "cyan1")) | 230 | '((t :inherit minibuffer-prompt)) |
| 231 | (((background dark)) (:foreground "cyan")) | ||
| 232 | (t (:foreground "dark blue"))) | ||
| 233 | "Face to use to highlight prompts." | 231 | "Face to use to highlight prompts." |
| 234 | :group 'comint) | 232 | :group 'comint) |
| 235 | 233 | ||