mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Display the "waiting" time between EmacsWiki requests using fewer decimal places
This commit is contained in:
parent
5a96d65f6e
commit
3a354296db
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ seconds; the server cuts off after 10 requests in 20 seconds.")
|
|||
(,elapsed (- ,now pb/last-wiki-fetch-time)))
|
||||
(when (< ,elapsed pb/wiki-min-request-interval)
|
||||
(let ((wait (- pb/wiki-min-request-interval ,elapsed)))
|
||||
(message "Waiting %s secs before hitting Emacswiki again" wait)
|
||||
(message "Waiting %.2f secs before hitting Emacswiki again" wait)
|
||||
(sleep-for wait)))
|
||||
(unwind-protect
|
||||
(progn ,@body)
|
||||
|
|
Loading…
Reference in a new issue