# HG changeset patch # User Lute Kamstra # Date 1113235848 0 # Node ID f09e8d159bafdc65b27f41bd06b492ffa61b071c # Parent 7296705f27fdead4df4d0f83304e03d3b8765d00 (nnimap-date-days-ago): Handle byte-compiler warnings differently. diff -r 7296705f27fd -r f09e8d159baf lisp/gnus/nnimap.el --- 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"