changeset 61463:f09e8d159baf

(nnimap-date-days-ago): Handle byte-compiler warnings differently.
author Lute Kamstra <lute@gnu.org>
date Mon, 11 Apr 2005 16:10:48 +0000
parents 7296705f27fd
children 67d24aba9eeb
files lisp/gnus/nnimap.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/nnimap.el	Mon Apr 11 16:09:59 2005 +0000
+++ b/lisp/gnus/nnimap.el	Mon Apr 11 16:10:48 2005 +0000
@@ -1386,10 +1386,10 @@
 	(list (- ms 1) (+ (expt 2 16) ls))
       (list ms ls))))
 
+(eval-when-compile (require 'parse-time))
 (defun nnimap-date-days-ago (daysago)
   "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago."
   (require 'parse-time)
-  (defvar parse-time-months)
   (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago)))
 	 (date (format-time-string
 		(format "%%d-%s-%%Y"