Re: [O] [PATCH] When testing, fake the current time more robustly

2019-02-12 Thread Kyle Meyer
Kyle Meyer writes: > Paul Eggert writes: > >> The old approach required Lisp code to use (current-time) >> explicitly when calling other primitives, e.g., (float-time >> (current-time)). The new approach fakes all the primitives, >> so that Lisp code can now use expressions like plain (float-ti

Re: [O] [PATCH] When testing, fake the current time more robustly

2019-02-12 Thread Kyle Meyer
Paul Eggert writes: > The old approach required Lisp code to use (current-time) > explicitly when calling other primitives, e.g., (float-time > (current-time)). The new approach fakes all the primitives, > so that Lisp code can now use expressions like plain (float-time). Great, thanks! I'll g

[O] [PATCH] When testing, fake the current time more robustly

2019-02-12 Thread Paul Eggert
The old approach required Lisp code to use (current-time) explicitly when calling other primitives, e.g., (float-time (current-time)). The new approach fakes all the primitives, so that Lisp code can now use expressions like plain (float-time). * testing/org-test.el (org-test-at-time): New macro.