]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge: timer.el: Use time-date fns rather than rolling our own.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Jul 2011 06:31:40 +0000 (23:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Jul 2011 06:31:40 +0000 (23:31 -0700)
This is simpler and helps future-proof the code.
* emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.
(timer--time-less-p): Use time-less-p.

1  2 
lisp/ChangeLog

diff --cc lisp/ChangeLog
index 93cf3c44033d1aa0e2cb001067f2e1dac2702f9f,d137c334b07569f3e23af86ae66d10f180fdf3b6..b5d9005c510113a92867ac9f1ccd1c0183d28c1b
@@@ -1,3 -1,8 +1,10 @@@
 -      * emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.
+ 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
++      * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
++      This is simpler and helps future-proof the code.
++      (timer-until): Use time-subtract and float-time.
+       (timer--time-less-p): Use time-less-p.
  2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
  
        * type-break.el (timep): Use the value of `float-time' to avoid a