1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

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

case, when it is a buffer.
This commit is contained in:
Richard M. Stallman 1996-08-17 02:10:31 +00:00
parent 7c98317117
commit f2b3cdc312

View 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