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/gdb-ui.el,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,v
Date: Tue, 29 Jan 2008 06:54:34 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     08/01/29 06:54:30

Index: lisp/progmodes/gdb-ui.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/gdb-ui.el,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -b -r1.218 -r1.219
--- lisp/progmodes/gdb-ui.el    22 Jan 2008 23:53:29 -0000      1.218
+++ lisp/progmodes/gdb-ui.el    29 Jan 2008 06:54:30 -0000      1.219
@@ -435,11 +435,11 @@
         (output
          (with-output-to-string
            (with-current-buffer standard-output
-             (call-process shell-file-name
-                           (if (file-exists-p file) file nil)
+             (and file (file-exists-p file)
+             (call-process shell-file-name file
                            (list t nil) nil "-c"
                            (concat gdb-cpp-define-alist-program " "
-                                   gdb-cpp-define-alist-flags)))))
+                                   gdb-cpp-define-alist-flags))))))
        (define-list (split-string output "\n" t)) (name))
     (setq gdb-define-alist nil)
     (dolist (define define-list)




reply via email to

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