Segregate aliases to DEFVAR_CONST
authorNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 25 Dec 2015 21:40:24 +0000 (16:40 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 25 Dec 2015 21:40:24 +0000 (16:40 -0500)
commit7ffe58c3287caeb19c08ea91c7a2076a1a0f98e5
tree14f3f0fe024e4ebea9bde01843d0ab2757f199d9
parentd7ffc361167a55f4f608f69f4597072c361daf75
Segregate aliases to DEFVAR_CONST

* lisp/float-sup.el: Remove alias for pi and e when bigfr is
available. These should now be defined in const-aliases, loaded
by startup.

* lisp/const-aliases.el (pi): Define const as bigfr-pi when bigfr
is available.
(e): Define as euler when bigfr is available.

* lisp/Makefile.am (corelispels): Add const-aliases.el to list of
files.

* lisp/startup.el (load-init-file): Require new const-aliases to
load the consts that cannot be dumped.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lisp/const-aliases.el [new file with mode: 0644]
lisp/float-sup.el
lisp/startup.el