# HG changeset patch # User Nick Roberts # Date 1175757291 0 # Node ID 1056094c20063637990a7864f4458068477e4b1a # Parent b6d64a55171507c3cd54aa86dcaf3cd11782ce4c (breakpoint-disabled): Tweak face (again) for low-color displays. diff -r b6d64a551715 -r 1056094c2006 lisp/progmodes/gdb-ui.el --- a/lisp/progmodes/gdb-ui.el Thu Apr 05 07:14:19 2007 +0000 +++ b/lisp/progmodes/gdb-ui.el Thu Apr 05 07:14:51 2007 +0000 @@ -1771,10 +1771,15 @@ :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)