]> git.eshelyaron.com Git - emacs.git/commit
Remove no-longer-needed integer overflow code
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Jul 2019 23:26:27 +0000 (16:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Jul 2019 23:36:50 +0000 (16:36 -0700)
commitc63e7f1bf6151d4bb5fde01890c69cdd515e2df3
treedb9958355d3b0a85c9a621ba4f0f07eca391dc2d
parentb904a238a5ab759a4d0d8c9ee5c48199febd8f62
Remove no-longer-needed integer overflow code

* lisp/calculator.el (calculator-number-to-string):
Use truncate, not calculator-truncate, since integer
overflow cannot occur here.
* lisp/calendar/cal-persia.el (calendar-persian-year-from-absolute):
* lisp/gnus/gnus-agent.el (gnus-agent-read-article-number):
* lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum)
(nnmaildir--new-number):
* lisp/scroll-bar.el (scroll-bar-scale):
* lisp/simple.el (beginning-of-buffer, end-of-buffer):
Simplify, now that integer overflow cannot occur.
lisp/calculator.el
lisp/calendar/cal-persia.el
lisp/files.el
lisp/gnus/gnus-agent.el
lisp/gnus/nnmaildir.el
lisp/scroll-bar.el
lisp/simple.el