diff options
author | Holger Dürer <me@hdurer.net> | 2022-02-12 15:14:40 +0100 |
---|---|---|
committer | Holger Dürer <me@hdurer.net> | 2022-02-12 15:14:40 +0100 |
commit | e5d73624023cb9bf0ec929985f35e935090b40f0 (patch) | |
tree | 093c86448905fe1bcdc5f2c003a6d9cb1bf45e3c /test | |
parent | a7aaba52da9730f29fe796e242c6ee5c75f5f48c (diff) |
Fix the timers for auto-updating of relative timestamps.
I have no idea how this ever worked, already the original
commit (https://github.com/mooseyboots/mastodon.el/commit/746694f0ea75f5fa76739d49509836ccd67d7d65?utm_source=pocket_mylist)
seems to have passed a time instead of seconds. The docs for
`run-at-time` (https://www.gnu.org/software/emacs/manual/html_node/elisp/Timers.html)
make it clear that this cannot work.
Now we keep the absolute times but upon calling `run-at-time` we
convert that to relative seconds from now.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions