diff options
| author | Lute Kamstra | 2005-04-11 16:11:14 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-11 16:11:14 +0000 |
| commit | 6a748edaab770d2d454208c85cabdc962c58a5b5 (patch) | |
| tree | bedfc4d7e69c59c6f49c3170b94d7d15db4c614e | |
| parent | 4e03f7e70fe8c67f0799c28a8a007fb31e65b499 (diff) | |
| download | emacs-6a748edaab770d2d454208c85cabdc962c58a5b5.tar.gz emacs-6a748edaab770d2d454208c85cabdc962c58a5b5.zip | |
(nnimap-date-days-ago): Handle byte-compiler warnings differently.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 052a7fdf5fc..514de4501ca 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2005-04-11 Lute Kamstra <lute@gnu.org> | ||
| 2 | |||
| 3 | * message.el (message-make-date): Handle byte-compiler warnings | ||
| 4 | differently. | ||
| 5 | * nnimap.el (nnimap-date-days-ago): Ditto. | ||
| 6 | |||
| 1 | 2005-04-10 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2005-04-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * mm-util.el (mm-string-to-multibyte): New function. | 9 | * mm-util.el (mm-string-to-multibyte): New function. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index d7cec7a864f..31d96cdd375 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1386,10 +1386,10 @@ function is generally only called when Gnus is shutting down." | |||
| 1386 | (list (- ms 1) (+ (expt 2 16) ls)) | 1386 | (list (- ms 1) (+ (expt 2 16) ls)) |
| 1387 | (list ms ls)))) | 1387 | (list ms ls)))) |
| 1388 | 1388 | ||
| 1389 | (eval-when-compile (require 'parse-time)) | ||
| 1389 | (defun nnimap-date-days-ago (daysago) | 1390 | (defun nnimap-date-days-ago (daysago) |
| 1390 | "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago." | 1391 | "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago." |
| 1391 | (require 'parse-time) | 1392 | (require 'parse-time) |
| 1392 | (defvar parse-time-months) | ||
| 1393 | (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago))) | 1393 | (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago))) |
| 1394 | (date (format-time-string | 1394 | (date (format-time-string |
| 1395 | (format "%%d-%s-%%Y" | 1395 | (format "%%d-%s-%%Y" |