diff options
| author | Nick Roberts | 2006-02-23 07:40:25 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-02-23 07:40:25 +0000 |
| commit | 7efc64d4be1c4529cde72a215ef59ff17c497a7d (patch) | |
| tree | 8f7b830a3ce108c9505d7db12fab927f4a34f657 | |
| parent | a5de75080d6a10a8c357d183f9ba3da5c33dce2a (diff) | |
| download | emacs-7efc64d4be1c4529cde72a215ef59ff17c497a7d.tar.gz emacs-7efc64d4be1c4529cde72a215ef59ff17c497a7d.zip | |
(gud-speedbar-buttons): Use shadow face properly.
| -rw-r--r-- | lisp/progmodes/gud.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index ea2586a31d6..5a09d5dd196 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -456,7 +456,8 @@ required by the caller." | |||
| 456 | (while var-list | 456 | (while var-list |
| 457 | (let* (char (depth 0) (start 0) (var (car var-list)) | 457 | (let* (char (depth 0) (start 0) (var (car var-list)) |
| 458 | (expr (car var)) (varnum (nth 1 var)) | 458 | (expr (car var)) (varnum (nth 1 var)) |
| 459 | (type (nth 3 var)) (status (nth 5 var))) | 459 | (type (nth 3 var)) (value (nth 4 var)) |
| 460 | (status (nth 5 var))) | ||
| 460 | (put-text-property | 461 | (put-text-property |
| 461 | 0 (length expr) 'face font-lock-variable-name-face expr) | 462 | 0 (length expr) 'face font-lock-variable-name-face expr) |
| 462 | (put-text-property | 463 | (put-text-property |
| @@ -470,7 +471,7 @@ required by the caller." | |||
| 470 | (string-match "char \\*$" type))) | 471 | (string-match "char \\*$" type))) |
| 471 | (speedbar-make-tag-line | 472 | (speedbar-make-tag-line |
| 472 | 'bracket ?? nil nil | 473 | 'bracket ?? nil nil |
| 473 | (concat expr "\t" (nth 4 var)) | 474 | (concat expr "\t" value) |
| 474 | (if (or parent (eq status 'out-of-scope)) | 475 | (if (or parent (eq status 'out-of-scope)) |
| 475 | nil 'gdb-edit-value) | 476 | nil 'gdb-edit-value) |
| 476 | nil | 477 | nil |
| @@ -491,14 +492,12 @@ required by the caller." | |||
| 491 | (speedbar-make-tag-line | 492 | (speedbar-make-tag-line |
| 492 | 'bracket char | 493 | 'bracket char |
| 493 | 'gdb-speedbar-expand-node varnum | 494 | 'gdb-speedbar-expand-node varnum |
| 494 | (concat expr "\t" | 495 | (concat expr "\t" type "\t" value) |
| 495 | type "\t" | 496 | (if (or parent status) |
| 496 | (nth 4 var)) | ||
| 497 | (if (or parent status 'out-of-scope) | ||
| 498 | nil 'gdb-edit-value) | 497 | nil 'gdb-edit-value) |
| 499 | nil | 498 | nil |
| 500 | (if (and (or parent status) gdb-show-changed-values) | 499 | (if (and (or parent (eq status 'out-of-scope)) |
| 501 | 'shadow t) | 500 | gdb-show-changed-values) 'shadow t) |
| 502 | depth) | 501 | depth) |
| 503 | (speedbar-make-tag-line | 502 | (speedbar-make-tag-line |
| 504 | 'bracket char | 503 | 'bracket char |