changeset 69041:de243d5151e8

(gud-speedbar-buttons): Use shadow face for all out of scope components.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 20 Feb 2006 21:47:56 +0000
parents ba88f6a465c9
children 01ec984a6ce6
files lisp/progmodes/gud.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Feb 20 21:46:12 2006 +0000
+++ b/lisp/progmodes/gud.el	Mon Feb 20 21:47:56 2006 +0000
@@ -497,7 +497,7 @@
 		       (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 @@
 		     '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)))