diff lisp/net/tramp-gvfs.el @ 107151:7e66e7efd47d

* net/tramp.el (tramp-process-actions, tramp-read-passwd): * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC instead of PROC for caching "first-password-request". Otherwise, new processes would not profit from passwords already entered. * net/tramp-cache.el (tramp-dump-connection-properties): Don't save "first-password-request" property.
author Michael Albinus <michael.albinus@gmx.de>
date Mon, 15 Feb 2010 16:04:53 +0100
parents 1d1d5d9bd884
children 93125d6fab29 5a6b4fafaa52
line wrap: on
line diff
--- a/lisp/net/tramp-gvfs.el	Sun Feb 14 18:34:09 2010 +0100
+++ b/lisp/net/tramp-gvfs.el	Mon Feb 15 16:04:53 2010 +0100
@@ -1057,8 +1057,7 @@
 	 vec 3 "Opening connection for %s@%s using %s..." user host method))
 
       ;; Enable auth-sorce and password-cache.
-      (tramp-set-connection-property
-       (tramp-get-connection-process vec) "first-password-request" t)
+      (tramp-set-connection-property vec "first-password-request" t)
 
       ;; There will be a callback of "askPassword", when a password is
       ;; needed.