From f30943417b9d10cb624616fe516afd113ebde324 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Wed, 19 Jan 2005 06:55:57 +0000 Subject: [PATCH] (gdb-put-breakpoint-icon): Add help-echo for breakpoint image symbol in margin. --- lisp/progmodes/gdb-ui.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index ad081c2ac9e..993d440cd0c 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -1836,6 +1836,9 @@ BUFFER nil or omitted means use the current buffer." (let ((start (progn (beginning-of-line) (- (point) 1))) (end (progn (end-of-line) (+ (point) 1))) (putstring (if enabled "B" "b"))) + (add-text-properties + 0 1 '(help-echo "mouse-1: set/clear bkpt, mouse-3: enable/disable bkpt") + putstring) (if enabled (add-text-properties 0 1 `(gdb-bptno ,bptno gdb-enabled t) putstring) (add-text-properties -- 2.39.2