# HG changeset patch # User Glenn Morris # Date 1211054987 0 # Node ID e29bfedb7864325cdd576295925d4b9e8e483bbb # Parent b4d5df9f90b3879cdfa51d1c8ae3badeea39d26c (top-level): Load auth-source when compiling. diff -r b4d5df9f90b3 -r e29bfedb7864 lisp/net/tramp.el --- a/lisp/net/tramp.el Sat May 17 20:08:54 2008 +0000 +++ b/lisp/net/tramp.el Sat May 17 20:09:47 2008 +0000 @@ -87,9 +87,10 @@ (require 'shell) (require 'advice) -(if (featurep 'xemacs) - (load "auth-source" 'noerror) - (require 'auth-source nil 'noerror)) +(eval-and-compile + (if (featurep 'xemacs) + (load "auth-source" 'noerror) + (require 'auth-source nil 'noerror))) ;; Requiring 'tramp-cache results in an endless loop. (autoload 'tramp-get-file-property "tramp-cache")