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

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

[elpa] externals/parsec 4c47bec 12/13: Only load cl-lib when needed


From: Stefan Monnier
Subject: [elpa] externals/parsec 4c47bec 12/13: Only load cl-lib when needed
Date: Fri, 26 Mar 2021 22:45:56 -0400 (EDT)

branch: externals/parsec
commit 4c47becfca1c1491ab98cb4450b1d0c5f0c1de89
Author: Bjarte Johansen <Bjarte.Johansen@gmail.com>
Commit: GitHub <noreply@github.com>

    Only load cl-lib when needed
    
    cl-lib is only needed on compile, so only load it at that time.
---
 parsec.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/parsec.el b/parsec.el
index 20e658e..9b04b65 100644
--- a/parsec.el
+++ b/parsec.el
@@ -501,7 +501,8 @@
 
 ;;; Code:
 
-(require 'cl-lib)
+(eval-when-compile 
+  (require 'cl-lib))
 
 (defgroup parsec nil
   "Parser combinators for Emacs Lisp"



reply via email to

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