Fix the fix, make pi a normal lisp var (Closes bug #176)
authorSteve Youngs <steve@sxemacs.org>
Wed, 23 Dec 2015 08:20:22 +0000 (18:20 +1000)
committerSteve Youngs <steve@sxemacs.org>
Wed, 23 Dec 2015 08:20:22 +0000 (18:20 +1000)
commit528ced5b22b7681234d5228d0a2a02d9a2305312
treea04a8d88e4878e116b8d93ec0aaef9ff3dc6ec6f
parent73dac82e98e87f568519ac37d591661063db3f54
Fix the fix, make pi a normal lisp var (Closes bug #176)

This change reverts the previous one, and then goes about closing bug 176
in a different way.  Namely, by changing Vpi from being a
DEFVAR_CONST_LISP to a DEFVAR_LISP. IOW, a plain ordinary variable.

* src/ent/ent-mpfr.c (vars_of_ent_mpfr): Set Vpi to be a normal
lisp variable instead of a constant so packages like Calc can
let-bind them for their own evil and misguided purposes. :-)
Vbigfr_pi -> Vpi

* src/ent/ent-mpfr.h: Vbigfr_pi -> Vpi

* lisp/float-sup.el: Revert previous change.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/float-sup.el
src/ent/ent-mpfr.c
src/ent/ent-mpfr.h