]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell-command): Really use output-buffer in synchronous
authorRichard M. Stallman <rms@gnu.org>
Sat, 17 Aug 1996 02:10:31 +0000 (02:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 17 Aug 1996 02:10:31 +0000 (02:10 +0000)
case, when it is a buffer.

lisp/simple.el

index 8199892f3e0c0496a2a54bcdd93d64bd5811bbae..915e1172155cc2b22765609e61b432e50754697d 100644 (file)
@@ -828,7 +828,7 @@ In either case, the output is inserted after point (leaving mark after it)."
                  (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