]> code.delx.au - gnu-emacs/commitdiff
(gud-speedbar-buttons): Use shadow face for all out of scope components.
authorNick Roberts <nickrob@snap.net.nz>
Mon, 20 Feb 2006 21:47:56 +0000 (21:47 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 20 Feb 2006 21:47:56 +0000 (21:47 +0000)
lisp/progmodes/gud.el

index cc7418d3ff47fe157240238512931fe7aaf6062b..ea2586a31d62874755441831e3c6ccc5ebbdb214 100644 (file)
@@ -497,7 +497,7 @@ required by the caller."
                       (if (or parent status 'out-of-scope)
                         nil 'gdb-edit-value)
                       nil
-                      (if (and status gdb-show-changed-values)
+                      (if (and (or parent status) gdb-show-changed-values)
                           'shadow t)
                       depth)
                    (speedbar-make-tag-line
@@ -505,7 +505,8 @@ required by the caller."
                     'gdb-speedbar-expand-node varnum
                     (concat expr "\t" type)
                     nil nil
-                    (if (and status gdb-show-changed-values) 'shadow t)
+                    (if (and (or parent status) gdb-show-changed-values)
+                        'shadow t)
                     depth))))
              (setq var-list (cdr var-list))))
          (setq gdb-force-update nil)))