Add binding for UNBIND-VARIABLE.
authorChris Hanson <org/chris-hanson/cph>
Tue, 2 Oct 2001 18:51:54 +0000 (18:51 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 2 Oct 2001 18:51:54 +0000 (18:51 +0000)
v7/src/runtime/global.scm

index 0ad37fad01439373fd6b8b721f9b9c44dafb4a31..e955003cc167bc957e65128485f499aca678ee04 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: global.scm,v 14.53 2001/08/09 03:04:44 cph Exp $
+$Id: global.scm,v 14.54 2001/10/02 18:51:54 cph Exp $
 
 Copyright (c) 1988-2001 Massachusetts Institute of Technology
 
@@ -236,6 +236,9 @@ USA.
 (define (environment-link-name target-environment source-environment name)
   ;; Obsolete; for backwards compatibility.
   (link-variables target-environment name source-environment name))
+
+(define (unbind-variable environment name)
+  ((ucode-primitive unbind-variable 2) (->environment environment) name))
 \f
 (define-integrable (object-non-pointer? object)
   (zero? (object-gc-type object)))