diff options
| author | Miles Bader | 2001-11-22 14:55:55 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-11-22 14:55:55 +0000 |
| commit | bf1ec4820290651546a2b586095e6ea13de8afce (patch) | |
| tree | 149c50cc6c458d53a90bbe5e422620e184a35c83 | |
| parent | 306d63c4d1fd2058fbe83cb2210b1e55caff4899 (diff) | |
| download | emacs-bf1ec4820290651546a2b586095e6ea13de8afce.tar.gz emacs-bf1ec4820290651546a2b586095e6ea13de8afce.zip | |
(reb-match-0, reb-match-1)
(reb-match-2, reb-match-3): Add dark-background variants.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/re-builder.el | 36 |
2 files changed, 29 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6427978d4a4..45996d77751 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-11-22 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/re-builder.el (reb-match-0, reb-match-1) | ||
| 4 | (reb-match-2, reb-match-3): Add dark-background variants. | ||
| 5 | |||
| 1 | 2001-11-22 Colin Walters <walters@debian.org> | 6 | 2001-11-22 Colin Walters <walters@debian.org> |
| 2 | 7 | ||
| 3 | * calc/calc-misc.el (calc-info): Don't perform voodoo, just | 8 | * calc/calc-misc.el (calc-info): Don't perform voodoo, just |
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index 03b3b7b0ef2..e5a5a90a5fb 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el | |||
| @@ -146,30 +146,42 @@ Set it to nil if you don't want limits here." | |||
| 146 | 146 | ||
| 147 | 147 | ||
| 148 | (defface reb-match-0 | 148 | (defface reb-match-0 |
| 149 | '((((class color)) | 149 | '((((class color) (background light)) |
| 150 | (:background "lightblue")) | 150 | :background "lightblue") |
| 151 | (t (:inverse-video t))) | 151 | (((class color) (background dark)) |
| 152 | :background "steelblue4") | ||
| 153 | (t | ||
| 154 | :inverse-video t)) | ||
| 152 | "Used for displaying the whole match." | 155 | "Used for displaying the whole match." |
| 153 | :group 're-builder) | 156 | :group 're-builder) |
| 154 | 157 | ||
| 155 | (defface reb-match-1 | 158 | (defface reb-match-1 |
| 156 | '((((class color)) | 159 | '((((class color) (background light)) |
| 157 | (:background "aquamarine")) | 160 | :background "aquamarine") |
| 158 | (t (:inverse-video t))) | 161 | (((class color) (background dark)) |
| 162 | :background "blue3") | ||
| 163 | (t | ||
| 164 | :inverse-video t)) | ||
| 159 | "Used for displaying the first matching subexpression." | 165 | "Used for displaying the first matching subexpression." |
| 160 | :group 're-builder) | 166 | :group 're-builder) |
| 161 | 167 | ||
| 162 | (defface reb-match-2 | 168 | (defface reb-match-2 |
| 163 | '((((class color)) | 169 | '((((class color) (background light)) |
| 164 | (:background "springgreen")) | 170 | :background "springgreen") |
| 165 | (t (:inverse-video t))) | 171 | (((class color) (background dark)) |
| 172 | :background "chartreuse4") | ||
| 173 | (t | ||
| 174 | :inverse-video t)) | ||
| 166 | "Used for displaying the second matching subexpression." | 175 | "Used for displaying the second matching subexpression." |
| 167 | :group 're-builder) | 176 | :group 're-builder) |
| 168 | 177 | ||
| 169 | (defface reb-match-3 | 178 | (defface reb-match-3 |
| 170 | '((((class color)) | 179 | '((((class color) (background light)) |
| 171 | (:background "yellow")) | 180 | :background "yellow") |
| 172 | (t (:inverse-video t))) | 181 | (((class color) (background dark)) |
| 182 | :background "sienna4") | ||
| 183 | (t | ||
| 184 | :inverse-video t)) | ||
| 173 | "Used for displaying the third matching subexpression." | 185 | "Used for displaying the third matching subexpression." |
| 174 | :group 're-builder) | 186 | :group 're-builder) |
| 175 | 187 | ||