From bcb04d981a77dff646af0d844ac7240824147927 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 17 May 2008 20:10:06 +0000 Subject: [PATCH] (top-level): Load auth-source when compiling. --- lisp/ChangeLog | 2 ++ lisp/net/tramp.el | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e0c77499698..821fb8580a6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2008-05-17 Glenn Morris + * net/tramp.el (top-level): Load auth-source when compiling. + * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv. 2008-05-17 Andreas Schwab diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index fb124389278..a026b45c4d2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -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") -- 2.39.2