Commit 0f8fb0b9 authored by Michael Albinus's avatar Michael Albinus

* net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.

Fixes: debbugs:18326
parent cd19ba4c
2014-08-28 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
(Bug#18326)
2014-08-28 Martin Rudalics <rudalics@gmx.at>
* scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
......
......@@ -3289,11 +3289,12 @@ User is always nil."
;; Run the process.
(setq p (apply 'start-file-process "*Async Shell*" buffer args))
;; Display output.
(pop-to-buffer output-buffer)
(setq mode-line-process '(":%s"))
(shell-mode)
(set-process-sentinel p 'shell-command-sentinel)
(set-process-filter p 'comint-output-filter))
(with-current-buffer output-buffer
(display-buffer output-buffer '(nil (allow-no-window . t)))
(setq mode-line-process '(":%s"))
(shell-mode)
(set-process-sentinel p 'shell-command-sentinel)
(set-process-filter p 'comint-output-filter)))
(prog1
;; Run the process.
......
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