Skip to content

Commit 06bbd6d

Browse files
committed
Do not handle :stop in tramp-*-handle-make-process
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Do not handle :stop anymore.
1 parent 0eb47c2 commit 06bbd6d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lisp/net/tramp-adb.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,6 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
934934
(command (plist-get args :command))
935935
(coding (plist-get args :coding))
936936
(noquery (plist-get args :noquery))
937-
(stop (plist-get args :stop))
938937
(connection-type (plist-get args :connection-type))
939938
(filter (plist-get args :filter))
940939
(sentinel (plist-get args :sentinel))
@@ -1010,9 +1009,6 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
10101009
;; Send the command.
10111010
(let* ((p (tramp-get-connection-process v)))
10121011
(tramp-adb-send-command v command nil t) ; nooutput
1013-
;; Stop process if indicated.
1014-
(when stop
1015-
(stop-process p))
10161012
;; Set sentinel and filter.
10171013
(when sentinel
10181014
(set-process-sentinel p sentinel))

lisp/net/tramp-sh.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,6 @@ the result will be a local, non-Tramp, file name."
27812781
(command (plist-get args :command))
27822782
(coding (plist-get args :coding))
27832783
(noquery (plist-get args :noquery))
2784-
(stop (plist-get args :stop))
27852784
(connection-type (plist-get args :connection-type))
27862785
(filter (plist-get args :filter))
27872786
(sentinel (plist-get args :sentinel))
@@ -2933,9 +2932,6 @@ the result will be a local, non-Tramp, file name."
29332932
v 'file-error
29342933
"pty association is not supported for `%s'"
29352934
name))))
2936-
;; Stop process if indicated.
2937-
(when stop
2938-
(stop-process p))
29392935
;; Set sentinel and filter.
29402936
(when sentinel
29412937
(set-process-sentinel p sentinel))

0 commit comments

Comments
 (0)