summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-17 02:10:31 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-17 02:10:31 +0000
commitd99b0afcc9f653f6c975b00fd21be2c226e1957c (patch)
tree301ca64ae1fa0ef59d970e134b107382e8a532b7 /lisp
parent9ce18d3a6673c8674c8456c9f987602450085fd9 (diff)
downloademacs-d99b0afcc9f653f6c975b00fd21be2c226e1957c.tar.gz
(shell-command): Really use output-buffer in synchronous
case, when it is a buffer.
Diffstat (limited to 'lisp')
-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)."
(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