]> code.delx.au - gnu-emacs/commitdiff
(gud-tool-bar-map): Rename the images
authorNick Roberts <nickrob@snap.net.nz>
Sat, 15 Oct 2005 22:58:11 +0000 (22:58 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sat, 15 Oct 2005 22:58:11 +0000 (22:58 +0000)
appropriately (gud/next, gud/nexti, gud/step, gud/stepi).
(gud-sentinel): Use speedbar-frame to check for speedbar.

lisp/progmodes/gud.el

index 13acc893c23723186eb911f3eb4f7ffc52a5c265..016c09051659e1484fc5c695de09be8e68140609 100644 (file)
@@ -209,10 +209,10 @@ Used to grey out relevant togolbar icons.")
                     ;; gud-s, gud-si etc. instead of gud-step,
                     ;; gud-stepi, to avoid file-name clashes on DOS
                     ;; 8+3 filesystems.
-                    (gud-next . "gud/n")
-                    (gud-step . "gud/s")
-                    (gud-nexti . "gud/ni")
-                    (gud-stepi . "gud/si")
+                    (gud-next . "gud/next")
+                    (gud-step . "gud/step")
+                    (gud-nexti . "gud/nexti")
+                    (gud-stepi . "gud/stepi")
                     (gud-up . "gud/up")
                     (gud-down . "gud/down")
                     (gud-goto-info . "info"))
@@ -2575,7 +2575,8 @@ It is saved for when this flag is not set.")
         ;; Stop displaying an arrow in a source file.
         (setq gud-overlay-arrow-position nil)
         (set-process-buffer proc nil)
-        (if (featurep 'speedbar)
+        (if (and (boundp 'speedbar-frame)
+                 (string-equal speedbar-initial-expansion-list-name "GUD"))
             (speedbar-change-initial-expansion-list
              speedbar-previously-used-expansion-list-name))
         (if (memq gud-minor-mode-type '(gdbmi gdba))