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:
parent
7c98317117
commit
f2b3cdc312
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user