]> git.eshelyaron.com Git - emacs.git/commit
Refactor Tramp async process code
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 14 Jan 2020 10:46:42 +0000 (11:46 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 14 Jan 2020 10:46:42 +0000 (11:46 +0100)
commit06caa3b7e5e9fe91b6918f8567adbd5501d6dbdd
tree8dd6754d32ae7a56e87abd1967252a387071c231
parent88efc736f562656efab778d35c32d549ef6270d7
Refactor Tramp async process code

* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Update stderr buffer when process has finished.  Do not call
`auto-revert'.

* test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process):
Tag it :unstable.  Change `accept-process-output' arguments.
(tramp--test-async-shell-command): New defun.
(tramp--test-shell-command-to-string-asynchronously): Use it.
(tramp-test32-shell-command): Refactor code.
lisp/net/tramp-adb.el
lisp/net/tramp-sh.el
test/lisp/net/tramp-tests.el