Commit 4e03f7e7 authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(message-make-date): Handle byte-compiler warnings differently.

parent d694ccd7
......@@ -4564,12 +4564,11 @@ Otherwise, generate and save a value for `canlock-password' first."
(when (re-search-forward ",+$" nil t)
(replace-match "" t t))))))
(eval-when-compile (require 'parse-time))
(defun message-make-date (&optional now)
"Make a valid data header.
If NOW, use that time instead."
(require 'parse-time)
(defvar parse-time-weekdays)
(defvar parse-time-months)
(let* ((now (or now (current-time)))
(zone (nth 8 (decode-time now)))
(sign "+"))
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