emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp comint.el


From: Nick Roberts
Subject: [Emacs-diffs] emacs/lisp comint.el
Date: Sun, 30 Aug 2009 22:24:05 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  09/08/30 22:24:05

Modified files:
        lisp           : comint.el 

Log message:
        (comint-exec-1): Check command is non-null first.
        Part of gdb-mi.el change (2009-08-28).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/comint.el?cvsroot=emacs&r1=1.391&r2=1.392

Patches:
Index: comint.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/comint.el,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -b -r1.391 -r1.392
--- comint.el   30 Aug 2009 05:10:25 -0000      1.391
+++ comint.el   30 Aug 2009 22:24:05 -0000      1.392
@@ -790,7 +790,7 @@
              default-directory
            "/"))
        proc decoding encoding changed)
-    (let ((exec-path (if (file-name-directory command)
+    (let ((exec-path (if (and command (file-name-directory command))
                         ;; If the command has slashes, make sure we
                         ;; first look relative to the current directory.
                         (cons default-directory exec-path) exec-path)))




reply via email to

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