Mercurial > emacs
changeset 69326:b7c903d07d4f
(gud-speedbar-buttons): Allow pointers to
be edited and use font-lock-warning-face for any changes.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 07 Mar 2006 10:43:19 +0000 |
parents | 806b0c0e3bd1 |
children | f309eed94981 |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Tue Mar 07 10:42:19 2006 +0000 +++ b/lisp/progmodes/gud.el Tue Mar 07 10:43:19 2006 +0000 @@ -493,11 +493,15 @@ 'bracket char 'gdb-speedbar-expand-node varnum (concat expr "\t" type "\t" value) - (if (or parent status) + (if (or parent (eq status 'out-of-scope)) nil 'gdb-edit-value) nil - (if (and (or parent (eq status 'out-of-scope)) - gdb-show-changed-values) 'shadow t) + (if gdb-show-changed-values + (or parent (case status + (changed 'font-lock-warning-face) + (out-of-scope 'shadow) + (t t))) + t) depth) (speedbar-make-tag-line 'bracket char