diff lisp/prim/process.el @ 118:7d55a9ba150c r20-1b11

Import from CVS: tag r20-1b11
author cvs
date Mon, 13 Aug 2007 09:24:17 +0200
parents 131b0175ea99
children 59463afc5666
line wrap: on
line diff
--- a/lisp/prim/process.el	Mon Aug 13 09:23:08 2007 +0200
+++ b/lisp/prim/process.el	Mon Aug 13 09:24:17 2007 +0200
@@ -160,7 +160,7 @@
 	  (progn
 	    (require 'background) ; whizzy comint background code
 	    (background (substring command 0 (match-beginning 0))))
-	(shell-command-on-region (point) (point) command nil)))))
+	(shell-command-on-region (point) (point) command output-buffer)))))
 
 ;; We have a sentinel to prevent insertion of a termination message
 ;; in the buffer itself.