mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 02:50:26 -08:00
; Minor Tramp cleanup
* lisp/net/tramp-message.el (tramp-warning): Fix `lwarn' call. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Don't set connection property "remote-pid", it's unused.
This commit is contained in:
parent
bef9eeb059
commit
8184f64ab0
2 changed files with 2 additions and 3 deletions
|
|
@ -467,7 +467,7 @@ to `tramp-message'."
|
|||
(declare (tramp-suppress-trace t))
|
||||
(let (signal-hook-function)
|
||||
(apply 'tramp-message vec-or-proc 2 fmt-string arguments)
|
||||
(lwarn 'tramp :warning fmt-string arguments)))
|
||||
(apply 'lwarn 'tramp :warning fmt-string arguments)))
|
||||
|
||||
(defun tramp-test-message (fmt-string &rest arguments)
|
||||
"Emit a Tramp message according `default-directory'."
|
||||
|
|
|
|||
|
|
@ -3104,8 +3104,7 @@ will be used."
|
|||
;; needed when sending signals remotely.
|
||||
(let ((pid (tramp-send-command-and-read v "echo $$")))
|
||||
(setq p (tramp-get-connection-process v))
|
||||
(process-put p 'remote-pid pid)
|
||||
(tramp-set-connection-property p "remote-pid" pid))
|
||||
(process-put p 'remote-pid pid))
|
||||
(when (memq connection-type '(nil pipe))
|
||||
;; Disable carriage return to newline
|
||||
;; translation. This does not work on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue