changeset 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 82ffe088ffc4
children d7af9dc028f0
files lisp/ChangeLog lisp/process.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jul 05 21:51:14 2006 +0000
+++ b/lisp/ChangeLog	Thu Jul 06 17:07:41 2006 +0000
@@ -1,3 +1,8 @@
+2006-06-30  Jerry James  <james@xemacs.org>
+
+	* process.el (shell-command): If a specific output buffer was
+	requested, use it.
+
 2006-06-25  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* x-init.el (x-initialize-keyboard):
--- 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'")))