diff lisp/progmodes/compile.el @ 82323:3892324d724a

(compilation-start): Pass nil as startfile to comint-exec.
author Sam Steingold <sds@gnu.org>
date Tue, 07 Aug 2007 20:10:15 +0000
parents b8c796068320
children 0349c504d001
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue Aug 07 16:55:40 2007 +0000
+++ b/lisp/progmodes/compile.el	Tue Aug 07 20:10:15 2007 +0000
@@ -170,7 +170,7 @@
     (maven
      ;; Maven is a popular build tool for Java.  Maven is Free Software.
      "\\(.*?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\]" 1 2 3)
-    
+
     (bash
      "^\\([^: \n\t]+\\): line \\([0-9]+\\):" 1 2)
 
@@ -1136,7 +1136,7 @@
 		       (if (file-remote-p default-directory)
 			   "/bin/sh"
 			 shell-file-name)
-		       `("-c" ,command))))
+		       nil `("-c" ,command))))
 		 (start-file-process-shell-command (downcase mode-name)
 						   outbuf command))))
 	  ;; Make the buffer's mode line show process state.