1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 02:40:46 -08:00

(gud-watch): Add "$" prefix when in registers buffer.

This commit is contained in:
Nick Roberts 2008-04-22 06:25:15 +00:00
parent 2baa22cf46
commit 01a369030e

View file

@ -751,7 +751,8 @@ With arg, enter name of variable to be watched in the minibuffer."
'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