emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gud.el
Date: Fri, 15 Jul 2005 10:44:33 -0400

Index: emacs/lisp/progmodes/gud.el
diff -c emacs/lisp/progmodes/gud.el:1.48 emacs/lisp/progmodes/gud.el:1.49
*** emacs/lisp/progmodes/gud.el:1.48    Thu Jul  7 04:59:06 2005
--- emacs/lisp/progmodes/gud.el Fri Jul 15 14:44:33 2005
***************
*** 42,48 ****
  (eval-when-compile (require 'cl)) ; for case macro
  
  (require 'comint)
- (require 'etags)
  (require 'font-lock)
  
  ;; ======================================================================
--- 42,47 ----
***************
*** 352,361 ****
         (not (memq gud-minor-mode '(gdbmi gdba))))]
      ["Edit value" speedbar-edit-line
       (with-current-buffer gud-comint-buffer
!        (not (memq gud-minor-mode '(gdbmi gdba))))]
      ["Delete expression" gdb-var-delete
       (with-current-buffer gud-comint-buffer
!        (not (memq gud-minor-mode '(gdbmi gdba))))])
    "Additional menu items to add to the speedbar frame.")
  
  ;; Make sure our special speedbar mode is loaded
--- 351,360 ----
         (not (memq gud-minor-mode '(gdbmi gdba))))]
      ["Edit value" speedbar-edit-line
       (with-current-buffer gud-comint-buffer
!        (memq gud-minor-mode '(gdbmi gdba)))]
      ["Delete expression" gdb-var-delete
       (with-current-buffer gud-comint-buffer
!        (memq gud-minor-mode '(gdbmi gdba)))])
    "Additional menu items to add to the speedbar frame.")
  
  ;; Make sure our special speedbar mode is loaded
***************
*** 833,838 ****
--- 832,838 ----
  and source-file directory for your debugger."
    (interactive (list (gud-query-cmdline 'sdb)))
  
+   (if gud-sdb-needs-tags (require 'etags))
    (if (and gud-sdb-needs-tags
           (not (and (boundp 'tags-file-name)
                     (stringp tags-file-name)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]