* type-break.el: Accept time formats that the builtins accept.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2011 23:51:42 +0000 (16:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2011 23:51:42 +0000 (16:51 -0700)
commit7b9430b4506b59298120a08737be9f4ad5b9cd49
treeb503af46f63e1bd0e00ac1384f525e76493ba65b
parent1e49bfab49317e46540f13c4091200b211c24ba6
* type-break.el: Accept time formats that the builtins accept.

(timep, type-break-time-difference): Accept any format that
float-time accepts, rather than insisting on (HIGH LOW USECS) format.
This is simpler and helps future-proof the code.
(type-break-time-difference): Round rather than ignoring
subseconds components.
lisp/ChangeLog
lisp/type-break.el