]> code.delx.au - gnu-emacs/commit
cl-extra fixes for most-negative-fixnum
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Jun 2015 19:16:51 +0000 (12:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Jun 2015 19:19:22 +0000 (12:19 -0700)
commitda5e0050ac161bd9d665c4b406a95bee4f3b4085
tree1f3d6da0846404b7dabce698abb236cc1870e13d
parentefc262f5f8a16d25c0db4e80fa52e693897fa41f
cl-extra fixes for most-negative-fixnum

* lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
Don't mishandle an argument equal to most-negative-fixnum,
whose absolute value equals itself.
(cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
lisp/emacs-lisp/cl-extra.el