diff options
| author | Katsumi Yamaoka | 2015-10-23 02:39:47 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2015-10-23 02:39:47 +0000 |
| commit | 3768304c6a501fb5bc90ed9e21a63aebd314a44e (patch) | |
| tree | 3fe5bef2f9f963e23ab16ff54296bb3e04b143b3 | |
| parent | bf40ed21a0de4e109f2a798afc4e37ef384884b2 (diff) | |
| download | emacs-3768304c6a501fb5bc90ed9e21a63aebd314a44e.tar.gz emacs-3768304c6a501fb5bc90ed9e21a63aebd314a44e.zip | |
No need to use eval-and-compile
* lisp/gnus/auth-source.el: Do require epg (when compiling) before
autoload epg functions.
| -rw-r--r-- | lisp/gnus/auth-source.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 8846c2f16c5..304bfa9d401 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -63,12 +63,11 @@ | |||
| 63 | (autoload 'plstore-save "plstore") | 63 | (autoload 'plstore-save "plstore") |
| 64 | (autoload 'plstore-get-file "plstore") | 64 | (autoload 'plstore-get-file "plstore") |
| 65 | 65 | ||
| 66 | (eval-and-compile | ||
| 67 | (autoload 'epg-make-context "epg") | ||
| 68 | (autoload 'epg-context-set-passphrase-callback "epg") | ||
| 69 | (autoload 'epg-decrypt-string "epg") | ||
| 70 | (autoload 'epg-encrypt-string "epg")) | ||
| 71 | (eval-when-compile (require 'epg)) ;; setf-method for `epg-context-armor' | 66 | (eval-when-compile (require 'epg)) ;; setf-method for `epg-context-armor' |
| 67 | (autoload 'epg-make-context "epg") | ||
| 68 | (autoload 'epg-context-set-passphrase-callback "epg") | ||
| 69 | (autoload 'epg-decrypt-string "epg") | ||
| 70 | (autoload 'epg-encrypt-string "epg") | ||
| 72 | 71 | ||
| 73 | (autoload 'help-mode "help-mode" nil t) | 72 | (autoload 'help-mode "help-mode" nil t) |
| 74 | 73 | ||