changeset 87040:dcdf399ba8a4

Require password-cache or password.
author Glenn Morris <rgm@gnu.org>
date Tue, 04 Dec 2007 04:32:21 +0000
parents c7d386687d80
children 818e4de6743e
files lisp/net/tramp.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Tue Dec 04 04:14:30 2007 +0000
+++ b/lisp/net/tramp.el	Tue Dec 04 04:32:21 2007 +0000
@@ -83,7 +83,8 @@
 ;; be mandatory
 (if (featurep 'xemacs)
     (load "password" 'noerror)
-  (require 'password nil 'noerror))     ;from No Gnus, also in tar ball
+  (or (require 'password-cache nil 'noerror)
+      (require 'password nil 'noerror))) ; from No Gnus, also in tar ball
 
 (require 'shell)
 (require 'advice)