[gnus git] branch master updated: m0-11-84-gf5a0192 =1= time-date.el (time-add, time-subtract, time-less-p): Use eval-and-compile, not eval-when-compile
Katsumi <[email protected]> Tue, 18 Nov 2014 09:02:04 +0100
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via f5a0192cba7cb12f15a669bc2c2a2d224253d2ac (commit)
from ae2d1aecc8790a70970b22501eb342150d1f1f6e (commit)
- Log -----------------------------------------------------------------
commit f5a0192cba7cb12f15a669bc2c2a2d224253d2ac
Author: Paul Eggert <[email protected]>
Date: Tue Nov 18 08:01:59 2014 +0000
time-date.el (time-add, time-subtract, time-less-p): Use eval-and-compile, not eval-when-compile
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 83f87d3..d794d4a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2014-11-18 Paul Eggert <[email protected]>
+
+ Port new time stamp handling to Emacs 23.2.
+ This fix is for Gnus. Problem reported by Katsumi Yamaoka.
+ * time-date.el (time-add, time-subtract, time-less-p):
+ Use eval-and-compile, not eval-when-compile.
+
2014-11-17 Albert Krewinkel <[email protected]>
* message.el (message-valid-fqdn-regexp): Add non-internaional new
diff --git a/lisp/time-date.el b/lisp/time-date.el
index a9c30f4..e7a8cc7 100644
--- a/lisp/time-date.el
+++ b/lisp/time-date.el
@@ -215,7 +215,7 @@ TIME should be either a time value or a date-time string."
;;;###autoload(autoload 'time-subtract "time-date")
;;;###autoload(autoload 'time-less-p "time-date")
-(eval-when-compile
+(eval-and-compile
(when (not (and (fboundp 'time-add) (subrp (symbol-function 'time-add))))
(defun time-add (t1 t2)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 7 +++++++
lisp/time-date.el | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project