1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(message-make-date): Require parse-time.

This commit is contained in:
Lute Kamstra 2005-03-16 22:55:07 +00:00
parent 4693dbc99d
commit bf68d4e635
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-03-16 Lute Kamstra <lute@gnu.org>
* message.el (message-make-date): Require parse-time.
2005-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
* nnimap.el (nnimap-retrieve-headers-from-server): Fix last change.

View File

@ -4567,6 +4567,7 @@ Otherwise, generate and save a value for `canlock-password' first."
(defun message-make-date (&optional now)
"Make a valid data header.
If NOW, use that time instead."
(require 'parse-time)
(let* ((now (or now (current-time)))
(zone (nth 8 (decode-time now)))
(sign "+"))