From 12b47dbf1f3b02221a2f50acd054d6f36e5171a3 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Wed, 20 Apr 2005 10:08:21 +0000 Subject: [PATCH] (gud-menu-map): Add tooltip-toggle-gud-tips. --- lisp/progmodes/gud.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index ebb7ee69765..9a5d609c523 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -113,6 +113,11 @@ Used to grey out relevant togolbar icons.") (easy-mmode-defmap gud-menu-map '(([help] "Info" . gud-goto-info) + ([tooltips] menu-item "Toggle GUD tooltips" tooltip-toggle-gud-tips + :enable (and (not emacs-basic-display) + (display-graphic-p) + (fboundp 'x-show-tip)) + :button (:toggle . tooltip-gud-tips-p)) ([refresh] "Refresh" . gud-refresh) ([run] menu-item "Run" gud-run :enable (and (not gud-running) -- 2.39.2