Mercurial > emacs
changeset 94235:37605d9673f1
(gud-watch): Add "$" prefix when in registers buffer.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 22 Apr 2008 06:25:15 +0000 |
parents | 507d9d5637d6 |
children | 0496bdb638d8 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Tue Apr 22 06:23:03 2008 +0000 +++ b/lisp/progmodes/gdb-ui.el Tue Apr 22 06:25:15 2008 +0000 @@ -751,7 +751,8 @@ 'gud-gdb-complete-command) (if (and transient-mark-mode mark-active) (buffer-substring (region-beginning) (region-end)) - (tooltip-identifier-from-point (point)))))) + (concat (if (eq major-mode 'gdb-registers-mode) "$") + (tooltip-identifier-from-point (point))))))) (speedbar 1) (set-text-properties 0 (length expr) nil expr) (gdb-enqueue-input