When autoloading a Maxima script, avoid clobbering global state.
commitfe1d8cf427aa69331147cc94e8ac993225333434
authorRobert Dodier <robert_dodier@users.sourceforge.net>
Tue, 6 Sep 2022 06:48:45 +0000 (5 23:48 -0700)
committerRobert Dodier <robert_dodier@users.sourceforge.net>
Tue, 6 Sep 2022 06:48:45 +0000 (5 23:48 -0700)
tree09354494d4a9bc4ec5d615d8590215c7527cff72
parent9e7fa5dd33b71344717a16ef2cefe1d78960a0dc
When autoloading a Maxima script, avoid clobbering global state.

When autoloading a Maxima script via aload_mac, evaluate with MEVAL instead of MEVAL*,
since MEVAL* resets VARLIST and calls CLEARSIGN.
That has the potential to interfere with any calculation in progress
when a Maxima function is autoloaded.
Therefore call MEVAL instead of MEVAL* to avoid the interference.
src/autol.lisp
src/mload.lisp
tests/rtest1.mac