shithub: femtolisp

Download patch

ref: af72c4f5bd209e82c6a4f9cf63bb37f2ad41bf63
parent: 2c212fbcf72a5bf9f916a09e8b8e8a2101cda93a
author: JeffBezanson <jeff.bezanson@gmail.com>
date: Thu May 7 23:00:40 EDT 2009

putting the saved environment in the order that matches the current
boot file


--- a/femtolisp/system.lsp
+++ b/femtolisp/system.lsp
@@ -753,7 +753,7 @@
 		     (begin
 		       (io.print f s) (io.write f "\n")
 		       (io.print f (top-level-value s)) (io.write f "\n"))))
-	       (simple-sort (environment)))
+	       (nreverse (simple-sort (environment))))
      (begin
        (io.close f)
        (set! *print-pretty* pp)))))