]> code.delx.au - gnu-emacs/commitdiff
No need to use eval-and-compile
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 23 Oct 2015 02:39:47 +0000 (02:39 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 23 Oct 2015 02:39:47 +0000 (02:39 +0000)
* lisp/gnus/auth-source.el: Do require epg (when compiling) before
autoload epg functions.

lisp/gnus/auth-source.el

index 8846c2f16c5c240e646cb513f4c27fe9b0a98952..304bfa9d401b4862c9e026a1cd1bbc9b9e4a6864 100644 (file)
 (autoload 'plstore-save "plstore")
 (autoload 'plstore-get-file "plstore")
 
-(eval-and-compile
-  (autoload 'epg-make-context "epg")
-  (autoload 'epg-context-set-passphrase-callback "epg")
-  (autoload 'epg-decrypt-string "epg")
-  (autoload 'epg-encrypt-string "epg"))
 (eval-when-compile (require 'epg)) ;; setf-method for `epg-context-armor'
+(autoload 'epg-make-context "epg")
+(autoload 'epg-context-set-passphrase-callback "epg")
+(autoload 'epg-decrypt-string "epg")
+(autoload 'epg-encrypt-string "epg")
 
 (autoload 'help-mode "help-mode" nil t)