diff options
Diffstat (limited to 'stack-core.el')
-rw-r--r-- | stack-core.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/stack-core.el b/stack-core.el index a030525..7072fd8 100644 --- a/stack-core.el +++ b/stack-core.el @@ -275,12 +275,14 @@ context of `stack-cache-directory'." data) (defvar stack-core--seconds-to-string - '((1 "ms" 0.001) - (100 "s" 1) - (6000 "m" 60.0) - (108000 "h" 3600.0) - (34560000 "d" 86400.0) - (nil "y" 31557600.0)) + ;; (LIMIT NAME VALUE) + ;; We use an entry if the number of seconds in question is less than + ;; LIMIT, but more than the previous entry's LIMIT. + '((100 "s" 1) + (6000 "m" 60.0) + (108000 "h" 3600.0) + (34560000 "d" 86400.0) + (nil "y" 31557600.0)) "Auxiliary variable used by `stack--time-since'.") (defun stack--time-since (time) |