Commit f2b3cdc3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(shell-command): Really use output-buffer in synchronous

case, when it is a buffer.
parent 7c983171
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment