changeset 61462:7296705f27fd

(message-make-date): Handle byte-compiler warnings differently.
author Lute Kamstra <lute@gnu.org>
date Mon, 11 Apr 2005 16:09:59 +0000
parents 7924ec3eef18
children f09e8d159baf
files lisp/gnus/message.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/message.el	Mon Apr 11 15:23:20 2005 +0000
+++ b/lisp/gnus/message.el	Mon Apr 11 16:09:59 2005 +0000
@@ -4564,12 +4564,11 @@
 	(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 "+"))