Explicitly use `current-time' to set 'LAST_REPEAT'
commit50a53b3f2c08efdb41fc91c2dfd7b7aca672b7e9
authorMarco Wahl <marcowahlsoft@gmail.com>
Fri, 27 Jan 2017 23:17:19 +0000 (28 00:17 +0100)
committerMarco Wahl <marcowahlsoft@gmail.com>
Fri, 27 Jan 2017 23:17:19 +0000 (28 00:17 +0100)
treea8a71e1a4b698c8a271f460e68ff22d4b20f3caa
parent6cb6a39443dfc234ac71ae25b58ee31eecbf2e9c
Explicitly use `current-time' to set 'LAST_REPEAT'

* lisp/org.el (org-auto-repeat-maybe): Explicitly use `current-time'
  to set LAST_REPEAT.  The behavior of the function remains the same.

This allows to advice current-time to use a different time.  Which
might help with testing and with functions which bend the time.
lisp/org.el