emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] 01/01: Port new time stamp handling to Emacs 23.2.


From: Paul Eggert
Subject: [Emacs-diffs] 01/01: Port new time stamp handling to Emacs 23.2.
Date: Tue, 18 Nov 2014 06:44:57 +0000

branch: master
commit b3cb91e07c26a3f83f684d9f7248c4492bf8fcc1
Author: Paul Eggert <address@hidden>
Date:   Mon Nov 17 22:44:27 2014 -0800

    Port new time stamp handling to Emacs 23.2.
    
    This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
    * calendar/time-date.el (time-add, time-subtract, time-less-p):
    Use eval-and-compile, not eval-when-compile.
---
 lisp/ChangeLog             |    7 +++++++
 lisp/calendar/time-date.el |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2670a66..feb9385 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2014-11-18  Paul Eggert  <address@hidden>
+
+       Port new time stamp handling to Emacs 23.2.
+       This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
+       * calendar/time-date.el (time-add, time-subtract, time-less-p):
+       Use eval-and-compile, not eval-when-compile.
+
 2014-11-18  Daiki Ueno  <address@hidden>
 
        * epg.el (epg-context-set-passphrase-callback)
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index a9c30f4..e7a8cc7 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]