diff options
Diffstat (limited to 'vscm.init')
-rw-r--r-- | vscm.init | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,4 +1,4 @@ -;;; "vscm.init" Configuration of *features* for VSCM -*-scheme-*- +;;; "vscm.init" Configuration of slib:features for VSCM -*-scheme-*- ;;; Author: Aubrey Jaffer ;;; ;;; This code is in the public domain. @@ -154,9 +154,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") @@ -429,12 +429,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 . argl) - (if (provided? 'trace) (print-call-stack (current-error-port))) - (error argl)) +(define slib:error + (let ((error error)) + (lambda args + (if (provided? 'trace) (print-call-stack (current-error-port))) + (error args)))) ;;; define these as appropriate for your system. (define slib:tab #\Tab) |