From 5bea21e81ed516440e34e480f2c33ca41aa8c597 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:36 -0800 Subject: Import Upstream version 3a4 --- chez.init | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'chez.init') diff --git a/chez.init b/chez.init index ad01b3f..5047f96 100644 --- a/chez.init +++ b/chez.init @@ -127,9 +127,9 @@ thunk (lambda () (exchange old))))))) -;;@ *FEATURES* is a list of symbols naming the (SLIB) features +;;@ SLIB:FEATURES is a list of symbols naming the (SLIB) features ;;; initially supported by this implementation. -(define *features* +(define slib:features '( source ;can load scheme source files ;(SLIB:LOAD-SOURCE "filename") @@ -313,12 +313,13 @@ ;;; define an error procedure for the library (define slib:error - (lambda args - (let ((cep (current-error-port))) - (if (provided? 'trace) (print-call-stack cep)) - (display "Error: " cep) - (for-each (lambda (x) (display #\ cep) (write x cep)) args) - (error #f "")))) + (let ((error error)) + (lambda args + (let ((cep (current-error-port))) + (if (provided? 'trace) (print-call-stack cep)) + (display "Error: " cep) + (for-each (lambda (x) (display #\space cep) (write x cep)) args) + (error #f ""))))) ;;; define these as appropriate for your system. (define slib:tab #\tab) @@ -474,7 +475,7 @@ (let ((cep (current-error-port))) (if (provided? 'trace) (print-call-stack cep)) (display "Warn: " cep) - (for-each (lambda (x) (display #\ cep) (write x cep)) args)))) + (for-each (lambda (x) (display #\space cep) (write x cep)) args)))) ;;; Load the REQUIRE package. (slib:load (in-vicinity (library-vicinity) "require")) -- cgit v1.2.3