From: Lute Kamstra Date: Mon, 11 Apr 2005 16:09:59 +0000 (+0000) Subject: (message-make-date): Handle byte-compiler warnings differently. X-Git-Tag: ttn-vms-21-2-B4~1073 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e03f7e70fe8c67f0799c28a8a007fb31e65b499;p=emacs.git (message-make-date): Handle byte-compiler warnings differently. --- 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 "+"))