]> git.eshelyaron.com Git - emacs.git/commitdiff
(message-make-date): Handle byte-compiler warnings differently.
authorLute Kamstra <lute@gnu.org>
Mon, 11 Apr 2005 16:09:59 +0000 (16:09 +0000)
committerLute Kamstra <lute@gnu.org>
Mon, 11 Apr 2005 16:09:59 +0000 (16:09 +0000)
lisp/gnus/message.el

index 0722ec1177b9bd3927f852df1b664f4cf9d4c0da..c07b6c34d3c1ecba553a1689f798c99fa9859e05 100644 (file)
@@ -4564,12 +4564,11 @@ Otherwise, generate and save a value for `canlock-password' first."
        (when (re-search-forward ",+$" nil t)
          (replace-match "" t t))))))
 
+(eval-when-compile (require 'parse-time))
 (defun message-make-date (&optional now)
   "Make a valid data header.
 If NOW, use that time instead."
   (require 'parse-time)
-  (defvar parse-time-weekdays)
-  (defvar parse-time-months)
   (let* ((now (or now (current-time)))
         (zone (nth 8 (decode-time now)))
         (sign "+"))