]> git.eshelyaron.com Git - emacs.git/commitdiff
Port new time stamp handling to Emacs 23.2.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Nov 2014 06:44:27 +0000 (22:44 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Nov 2014 06:44:51 +0000 (22:44 -0800)
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
lisp/calendar/time-date.el

index 2670a66a7c72e08cc2e85a5064b4a68f77c3a66c..feb93854eeadf155673437d5528dd71b90c5a7c3 100644 (file)
@@ -1,3 +1,10 @@
+2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <ueno@gnu.org>
 
        * epg.el (epg-context-set-passphrase-callback)
index a9c30f41f6a244c858b3980be06eb6f64271bce8..e7a8cc7eb25f9460c897ded1af77bdfd5d7b5e04 100644 (file)
@@ -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)