changeset 61690:a095ad7b17e4

(gud-menu-map): Add tooltip-toggle-gud-tips.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 20 Apr 2005 10:08:21 +0000
parents f237d053751b
children c7e8695076af
files lisp/progmodes/gud.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Wed Apr 20 10:07:28 2005 +0000
+++ b/lisp/progmodes/gud.el	Wed Apr 20 10:08:21 2005 +0000
@@ -113,6 +113,11 @@
 
 (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)