From: Miles Bader <miles@gnu.org>
Date: Thu, 16 Dec 2010 04:14:48 +0000 (+0900)
Subject: url-cookie.el: Require 'cl when compiling
X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~278^2~97
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cbc281e31f901113d2f0f57c6d01828025f2e38;p=emacs.git

url-cookie.el: Require 'cl when compiling
---

diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 619375b0249..45b023ffb60 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-16  Miles Bader  <Miles Bader <miles@gnu.org>>
+
+	* url-cookie.el: Require 'cl when compiling -- it's necessary for
+	defstruct.
+
 2010-12-14  Glenn Morris  <rgm@gnu.org>
 
 	* url-cookie.el: Don't require cl when compiling.
diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el
index 78dccac19c2..37fd6005995 100644
--- a/lisp/url/url-cookie.el
+++ b/lisp/url/url-cookie.el
@@ -27,6 +27,8 @@
 (require 'url-util)
 (require 'url-parse)
 
+(eval-when-compile (require 'cl))	; defstruct
+
 (defgroup url-cookie nil
   "URL cookies."
   :prefix "url-"