emacs/doc
Paul Eggert 2dc98b69e0 format-seconds takes time values, not just numbers
* lisp/calendar/time-date.el (format-seconds): Document that the arg
can be any time value, and need not be a number.
This has been true for some time, but has not been documented.
Avoid some (but not all) rounding errors internally, and add a
comment about the remaining rounding error.
* lisp/emacs-lisp/timer-list.el (list-timers):
* lisp/org/org-timer.el (org-timer-show-remaining-time):
* lisp/org/ox.el (org-export--stack-generate):
* lisp/time.el (emacs-uptime): Omit unnecessary conversion of time
value that can increase rounding error.
* test/lisp/calendar/time-date-tests.el (test-format-seconds):
Test that format-seconds works on time values that are not numbers.
2026-06-05 19:16:29 -07:00
..
emacs Merge from origin/emacs-31 2026-05-29 11:01:25 +01:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi: Update *Backtrace* outputs. 2026-05-03 12:06:54 +01:00
lispref format-seconds takes time values, not just numbers 2026-06-05 19:16:29 -07:00
man ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
misc Merge from origin/emacs-31 2026-06-05 11:19:07 +01:00
translations README for manual translations available, and how to compile them 2026-05-31 14:57:41 +02:00