diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-04-05 07:14:51 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-04-05 07:14:51 +0000 |
commit | 109a7709758bc3b74c925ea4db88f02b0b62977b (patch) | |
tree | 5bd1ab2cf7bc15f46c7f14149f2f392319accca7 /lisp/progmodes/gdb-ui.el | |
parent | 3cba70867cba79ed076f596c196ce39d9993a05a (diff) | |
download | emacs-109a7709758bc3b74c925ea4db88f02b0b62977b.tar.gz |
(breakpoint-disabled): Tweak face (again)
for low-color displays.
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r-- | lisp/progmodes/gdb-ui.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index b598f2de1f7..4dbc9893f61 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -1771,10 +1771,15 @@ static char *magick[] = { :group 'gud) (defface breakpoint-disabled - ;; We use different values of grey for different background types, - ;; so that on low-color displays it will end up as something visible - ;; if it has to be approximated. - '((t :foreground "grey70")) + '((((class color) (min-colors 88)) :foreground "grey70") + ;; Ensure that on low-color displays that we end up something visible. + (((class color) (min-colors 8) (background light)) + :foreground "black") + (((class color) (min-colors 8) (background dark)) + :foreground "white") + (((type tty) (class mono)) + :inverse-video t) + (t :background "gray")) "Face for disabled breakpoint icon in fringe." :group 'gud) |