1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-30 00:40:20 +02:00

* boot-9.scm (define-public): Changed to accomodate Hobbit.

This commit is contained in:
Jim Blandy 1997-07-11 05:13:59 +00:00
parent 8cedfb2e6c
commit 3c5af9ef9b

View file

@ -2505,11 +2505,14 @@
;; Make sure that local is exported:
;;
(module-add! public-i ',name (module-variable (current-module) ',name)))
(module-add! public-i ',name
(module-variable (current-module) ',name)))
;; Now (re)define the var normally.
;;
(define-private ,@ args))))))
;; Now (re)define the var normally. Bernard URBAN
;; suggests we use eval here to accomodate Hobbit; it lets
;; the interpreter handle the define-private form, which
;; Hobbit can't digest.
(eval '(define-private ,@ args)))))))