branch: elpa/helm commit f73d8120b316e55733df61a024b68e093793627e Author: Renato F <renatof...@gmail.com> Commit: GitHub <nore...@github.com>
More precise idle-for in helm-elisp--format-timer Better format and consider milliseconds for idle timers. --- helm-elisp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm-elisp.el b/helm-elisp.el index 1f82a20fcb..462470782f 100644 --- a/helm-elisp.el +++ b/helm-elisp.el @@ -909,7 +909,9 @@ a string, i.e. the `symbol-name' of any existing symbol." (format "%s repeat=%s %s(%s)" (let ((time (timer--time timer))) (if (timer--idle-delay timer) - (format-time-string "idle-for=%5s" time) + (format "idle-for=[%s]" + (format-seconds "%dd %hh %mmin %z%,3ss" + (time-convert time t))) (format-time-string "%m/%d %T" time))) (or (timer--repeat-delay timer) "nil") (mapconcat 'identity (split-string