aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-17 02:10:31 +0000
committerRichard M. Stallman1996-08-17 02:10:31 +0000
commitf2b3cdc312e6be03691b7a5940a1125a6fc949bf (patch)
tree26e4f508506a98be5b78ecf49797d64a264d6e14
parent7c98317117409635639de6eb311e9fc508762ef1 (diff)
downloademacs-f2b3cdc312e6be03691b7a5940a1125a6fc949bf.tar.gz
emacs-f2b3cdc312e6be03691b7a5940a1125a6fc949bf.zip
(shell-command): Really use output-buffer in synchronous
case, when it is a buffer.
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 8199892f3e0..915e1172155 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -828,7 +828,7 @@ In either case, the output is inserted after point (leaving mark after it)."
828 (require 'shell) (shell-mode) 828 (require 'shell) (shell-mode)
829 (set-process-sentinel proc 'shell-command-sentinel) 829 (set-process-sentinel proc 'shell-command-sentinel)
830 )) 830 ))
831 (shell-command-on-region (point) (point) command nil) 831 (shell-command-on-region (point) (point) command output-buffer)
832 )))))) 832 ))))))
833 833
834;; We have a sentinel to prevent insertion of a termination message 834;; We have a sentinel to prevent insertion of a termination message