diff options
Diffstat (limited to 'macscheme.init')
-rw-r--r-- | macscheme.init | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/macscheme.init b/macscheme.init index 8edfc00..ab717d4 100644 --- a/macscheme.init +++ b/macscheme.init @@ -1,4 +1,4 @@ -;;;"macscheme.init" Configuration of *features* for MacScheme -*-scheme-*- +;;;"macscheme.init" Configuration of slib:features for MacScheme -*-scheme-*- ;;; Author: Aubrey Jaffer ;;; ;;; This code is in the public domain. @@ -103,9 +103,9 @@ (exchange old) val)))) -;;@ *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") @@ -315,13 +315,14 @@ (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)))) ;;; define an error procedure for the library (define slib:error - (lambda args - (if (provided? 'trace) (print-call-stack (current-error-port))) - (cerror "Error: " args))) + (let ((cerror cerror)) + (lambda args + (if (provided? 'trace) (print-call-stack (current-error-port))) + (cerror "Error: " args)))) ;;; define these as appropriate for your system. (define slib:tab #\tab) |