Commit 6a748eda authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(nnimap-date-days-ago): Handle byte-compiler warnings differently.

parent 4e03f7e7
2005-04-11 Lute Kamstra <lute@gnu.org>
* message.el (message-make-date): Handle byte-compiler warnings
differently.
* nnimap.el (nnimap-date-days-ago): Ditto.
2005-04-10 Stefan Monnier <monnier@iro.umontreal.ca> 2005-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
* mm-util.el (mm-string-to-multibyte): New function. * mm-util.el (mm-string-to-multibyte): New function.
......
...@@ -1386,10 +1386,10 @@ function is generally only called when Gnus is shutting down." ...@@ -1386,10 +1386,10 @@ function is generally only called when Gnus is shutting down."
(list (- ms 1) (+ (expt 2 16) ls)) (list (- ms 1) (+ (expt 2 16) ls))
(list ms ls)))) (list ms ls))))
(eval-when-compile (require 'parse-time))
(defun nnimap-date-days-ago (daysago) (defun nnimap-date-days-ago (daysago)
"Return date, in format \"3-Aug-1998\", for DAYSAGO days ago." "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago."
(require 'parse-time) (require 'parse-time)
(defvar parse-time-months)
(let* ((time (nnimap-time-substract (current-time) (days-to-time daysago))) (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago)))
(date (format-time-string (date (format-time-string
(format "%%d-%s-%%Y" (format "%%d-%s-%%Y"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment