diff lisp/process.el @ 3491:81975997fb1a

[xemacs-hg @ 2006-07-06 17:07:40 by james] If an output buffer is specified, use it. <m3lkrez7pi.fsf@jerrypc.cs.usu.edu>
author james
date Thu, 06 Jul 2006 17:07:41 +0000
parents 35aac3cef6af
children 466ad8ad5f13
line wrap: on
line diff
--- a/lisp/process.el	Wed Jul 05 21:51:14 2006 +0000
+++ b/lisp/process.el	Thu Jul 06 17:07:41 2006 +0000
@@ -359,8 +359,8 @@
 	  ;; Command ending with ampersand means asynchronous.
 	  (progn
 	    (if-fboundp 'background
-		(background (substring command 0
-				       (match-beginning 0)))
+		(background (substring command 0 (match-beginning 0))
+			    output-buffer)
 	      (error
 	       'unimplemented
 	       "backgrounding a shell command requires package `background'")))