-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 3-May-07, at 4:16 PM, paul bite wrote:
hi
there is a way to do #ifdef like c. I really need something that works like: #ifdef DEBUG ... #endif
This will do:
(define-cond-expand-feature DEBUG)
(cond-expand (DEBUG (display "debugging\n")) (else (display "not debugging\n")))
Note that the define-cond-expand-feature does a global mutation of the list of cond-expand features. So the scope includes all the files that are loaded or compiled from that point on.
Marc