changeset 15876:d814bc72503f

(shell-command): Really use output-buffer in synchronous case, when it is a buffer.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Aug 1996 02:10:31 +0000
parents 5ffb83189a1b
children 33e652659075
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Fri Aug 16 23:14:09 1996 +0000
+++ b/lisp/simple.el	Sat Aug 17 02:10:31 1996 +0000
@@ -828,7 +828,7 @@
 		  (require 'shell) (shell-mode)
 		  (set-process-sentinel proc 'shell-command-sentinel)
 		  ))
-	    (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