emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp/net tramp.el


From: Michael Albinus
Subject: [Emacs-diffs] emacs/lisp/net tramp.el
Date: Thu, 19 Nov 2009 09:25:20 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       09/11/19 09:25:19

Modified files:
        lisp/net       : tramp.el 

Log message:
        * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set
        variables for computing the prompt for reading password.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/net/tramp.el?cvsroot=emacs&r1=1.268&r2=1.269

Patches:
Index: tramp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/tramp.el,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -b -r1.268 -r1.269
--- tramp.el    17 Nov 2009 10:35:36 -0000      1.268
+++ tramp.el    19 Nov 2009 09:25:19 -0000      1.269
@@ -3804,6 +3804,12 @@
          (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]