From 4e03f7e70fe8c67f0799c28a8a007fb31e65b499 Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Mon, 11 Apr 2005 16:09:59 +0000 Subject: [PATCH] (message-make-date): Handle byte-compiler warnings differently. --- lisp/gnus/message.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 0722ec1177b..c07b6c34d3c 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -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 "+")) -- 2.39.2