diff options
| author | Katsumi Yamaoka | 2015-10-22 23:55:31 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2015-10-22 23:55:31 +0000 |
| commit | bf40ed21a0de4e109f2a798afc4e37ef384884b2 (patch) | |
| tree | 2e5105068141c18d14d5dc22154501e0eef0e27d | |
| parent | d4352f813a0703cc7f7a873525131b272ef0c105 (diff) | |
| download | emacs-bf40ed21a0de4e109f2a798afc4e37ef384884b2.tar.gz emacs-bf40ed21a0de4e109f2a798afc4e37ef384884b2.zip | |
Fix auth-source-epa-make-gpg-token compilation (bug#21724)
* lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
epg-context-set-passphrase-callback, epg-decrypt-string, and
epg-encrypt-string; require epg when compiling for the setf-method
for epg-context-armor. (bug#21724)
| -rw-r--r-- | lisp/gnus/auth-source.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 75e6d0499d0..8846c2f16c5 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -63,11 +63,12 @@ | |||
| 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 | (autoload 'epg-make-context "epg") | 66 | (eval-and-compile |
| 67 | (autoload 'epg-context-set-passphrase-callback "epg") | 67 | (autoload 'epg-make-context "epg") |
| 68 | (autoload 'epg-decrypt-string "epg") | 68 | (autoload 'epg-context-set-passphrase-callback "epg") |
| 69 | (autoload 'epg-context-set-armor "epg") | 69 | (autoload 'epg-decrypt-string "epg") |
| 70 | (autoload 'epg-encrypt-string "epg") | 70 | (autoload 'epg-encrypt-string "epg")) |
| 71 | (eval-when-compile (require 'epg)) ;; setf-method for `epg-context-armor' | ||
| 71 | 72 | ||
| 72 | (autoload 'help-mode "help-mode" nil t) | 73 | (autoload 'help-mode "help-mode" nil t) |
| 73 | 74 | ||