emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnorb 8a9c167 277/449: Fix the cl-lib loading stuff


From: Stefan Monnier
Subject: [elpa] externals/gnorb 8a9c167 277/449: Fix the cl-lib loading stuff
Date: Fri, 27 Nov 2020 23:15:55 -0500 (EST)

branch: externals/gnorb
commit 8a9c16714cd2f5944c83f3d8c050819bbe0bbb1c
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Fix the cl-lib loading stuff
    
    * gnorb-utils.el: Require cl-lib instead of doing the eval-when-compile
      dance for cl.
    * gnorb-bbdb.el: No cl
    * gnorb-gnus.el: No cl
    * gnorb-org.el: No cl
    * gnorb-registry.el: Require gnorb-utils
    
    Turns out you're not supposed to do (eval-when-compile (require 'cl))
    anymore. Switching to (require 'cl-lib) in gnorb-utils, and make sure
    everything else requires that.
---
 gnorb-bbdb.el     | 3 ---
 gnorb-gnus.el     | 3 ---
 gnorb-org.el      | 3 ---
 gnorb-registry.el | 1 +
 gnorb-utils.el    | 3 +--
 5 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnorb-bbdb.el b/gnorb-bbdb.el
index 058011c..08f24eb 100644
--- a/gnorb-bbdb.el
+++ b/gnorb-bbdb.el
@@ -24,9 +24,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl))
-
 (require 'bbdb)
 (require 'gnorb-utils)
 
diff --git a/gnorb-gnus.el b/gnorb-gnus.el
index 4b7a16f..19a7603 100644
--- a/gnorb-gnus.el
+++ b/gnorb-gnus.el
@@ -24,9 +24,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl))
-
 (require 'gnus)
 (require 'gnorb-utils)
 
diff --git a/gnorb-org.el b/gnorb-org.el
index 846ded9..4309028 100644
--- a/gnorb-org.el
+++ b/gnorb-org.el
@@ -24,9 +24,6 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl))
-
 (require 'gnorb-utils)
 
 (defgroup gnorb-org nil
diff --git a/gnorb-registry.el b/gnorb-registry.el
index f70531c..dd72ff5 100644
--- a/gnorb-registry.el
+++ b/gnorb-registry.el
@@ -49,6 +49,7 @@
 ;;; Code:
 
 (require 'gnus-registry)
+(require 'gnorb-utils)
 
 (defgroup gnorb-registry nil
   "Gnorb's use of the Gnus registry."
diff --git a/gnorb-utils.el b/gnorb-utils.el
index 81efa32..59794ac 100644
--- a/gnorb-utils.el
+++ b/gnorb-utils.el
@@ -24,8 +24,7 @@
 
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl))
+(require 'cl-lib)
 
 (mailcap-parse-mimetypes)
 



reply via email to

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