* net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set

variables for computing the prompt for reading password.
This commit is contained in:
Michael Albinus 2009-11-19 09:25:40 +00:00
parent 470bce7d54
commit 4265deabcb
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-11-19 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set
variables for computing the prompt for reading password.
2009-11-19 Glenn Morris <rgm@gnu.org>
* dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)

View file

@ -3804,6 +3804,12 @@ The method used must be an out-of-band method."
(tramp-error
v 'file-error "Cannot find copy program: %s" copy-program))
;; Set variables for computing the prompt for reading
;; password.
(setq tramp-current-method (tramp-file-name-method v)
tramp-current-user (tramp-file-name-user v)
tramp-current-host (tramp-file-name-host v))
(unwind-protect
(with-temp-buffer
;; The default directory must be remote.