emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3768304: No need to use eval-and-compile


From: Katsumi Yamaoka
Subject: [Emacs-diffs] master 3768304: No need to use eval-and-compile
Date: Fri, 23 Oct 2015 02:40:05 +0000

branch: master
commit 3768304c6a501fb5bc90ed9e21a63aebd314a44e
Author: Katsumi Yamaoka <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>

    No need to use eval-and-compile
    
    * lisp/gnus/auth-source.el: Do require epg (when compiling) before
    autoload epg functions.
---
 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 8846c2f..304bfa9 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -63,12 +63,11 @@
 (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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]