mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
; Minor Tramp changes
* lisp/net/tramp.el (tramp-handle-make-process): * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-androidsu.el (tramp-androidsu-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): * lisp/net/tramp-smb.el (tramp-smb-handle-start-file-process): Don't use connection property "remote-command", it's superfluous. * lisp/net/tramp-archive.el (tramp-archive-local-file-name): Add `tramp-archive-method' to `tramp-methods' temporarily.
This commit is contained in:
parent
ec3f9434c7
commit
7671d50b14
6 changed files with 3 additions and 10 deletions
|
|
@ -846,8 +846,6 @@ will be used."
|
|||
(when filter
|
||||
(set-process-filter p filter))
|
||||
(process-put p 'remote-command orig-command)
|
||||
(tramp-set-connection-property
|
||||
p "remote-command" orig-command)
|
||||
;; Set query flag and process marker for this
|
||||
;; process. We ignore errors, because the
|
||||
;; process could have finished already.
|
||||
|
|
|
|||
|
|
@ -375,7 +375,6 @@ FUNCTION."
|
|||
;; so we reset it.
|
||||
(set-process-query-on-exit-flag p (null noquery))
|
||||
(process-put p 'remote-command orig-command)
|
||||
(tramp-set-connection-property p "remote-command" orig-command)
|
||||
(when (bufferp stderr)
|
||||
(tramp-taint-remote-process-buffer stderr))
|
||||
p)))
|
||||
|
|
|
|||
|
|
@ -585,7 +585,8 @@ offered."
|
|||
;; This is used in GNU ELPA package tramp-locproc.el.
|
||||
(defun tramp-archive-local-file-name (filename)
|
||||
"Return local mount name of FILENAME."
|
||||
(tramp-gvfs-local-file-name (tramp-archive-gvfs-file-name filename)))
|
||||
(let ((tramp-methods (cons `(,tramp-archive-method) tramp-methods)))
|
||||
(tramp-gvfs-local-file-name (tramp-archive-gvfs-file-name filename))))
|
||||
|
||||
|
||||
;; File name primitives.
|
||||
|
|
|
|||
|
|
@ -3150,8 +3150,6 @@ will be used."
|
|||
(when filter
|
||||
(set-process-filter p filter))
|
||||
(process-put p 'remote-command orig-command)
|
||||
(tramp-set-connection-property
|
||||
p "remote-command" orig-command)
|
||||
;; Set query flag and process marker for this
|
||||
;; process. We ignore errors, because the
|
||||
;; process could have finished already.
|
||||
|
|
|
|||
|
|
@ -1476,9 +1476,7 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
|
|||
(tramp-send-string v command)))
|
||||
(setq p (tramp-get-connection-process v))
|
||||
(when program
|
||||
(process-put p 'remote-command (cons program args))
|
||||
(tramp-set-connection-property
|
||||
p "remote-command" (cons program args)))
|
||||
(process-put p 'remote-command (cons program args)))
|
||||
;; Return value.
|
||||
p)))
|
||||
|
||||
|
|
|
|||
|
|
@ -5294,7 +5294,6 @@ should be set connection-local.")
|
|||
;; so we reset it.
|
||||
(set-process-query-on-exit-flag p (null noquery))
|
||||
(process-put p 'remote-command orig-command)
|
||||
(tramp-set-connection-property p "remote-command" orig-command)
|
||||
(when (bufferp stderr)
|
||||
(tramp-taint-remote-process-buffer stderr))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue