[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] eval-when 'defaults'

From: Camm Maguire
Subject: [Gcl-devel] eval-when 'defaults'
Date: 07 Jul 2004 17:25:10 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Paul, from my brief reading of the spec, it would appear
that the default behavior for top level forms in a file being
compiled would be as if they were surrounded by an (eval-when
(:compile-toplevel :load-toplevel :execute)...).  Is this right? 

Witness the following comment in gcl_cmptop.lsp:

;; this default will be as close to the the decision of the x3j13 committee
;; as I can make it.   Valid values of *eval-when-defaults* are
;; a sublist of '(compile eval load)
(defvar *eval-when-defaults* :defaults)

And in cmpnew/gcl_cmpinit.lsp:

(setq compiler::*eval-when-defaults* '(compile eval load))

Take care,
Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]