summaryrefslogtreecommitdiff
path: root/lisp/textmodes/mhtml-mode.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2018-10-22 19:31:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-10-22 19:34:49 -0700
commita38128561757c82fbd088cba379b7a253558c7f1 (patch)
tree3583478b760707dca52441fef3a19dfc1e954baf /lisp/textmodes/mhtml-mode.el
parent8602bd855904acc1966f1a94a008f91bb3f88c18 (diff)
downloademacs-a38128561757c82fbd088cba379b7a253558c7f1.tar.gz
emacs-a38128561757c82fbd088cba379b7a253558c7f1.tar.bz2
emacs-a38128561757c82fbd088cba379b7a253558c7f1.zip
Improve rounding in recent timer fix
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time): Use more-precise arithmetic to handle some boundary cases better when rounding errors occur (Bug#33071). * test/lisp/emacs-lisp/timer-tests.el: (timer-next-integral-multiple-of-time-3): New test, to test one of the boundary cases. (timer-next-integral-multiple-of-time-2): Redo so as to not assume a particular way of rounding 0.01.
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
0 files changed, 0 insertions, 0 deletions