1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07: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