[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I determine if a function is defined?
From: |
Bruce Korb |
Subject: |
Re: How do I determine if a function is defined? |
Date: |
Sun, 28 Apr 2002 18:34:58 -0700 |
Rob Browning wrote:
> Try
>
> (if (defined? 'set-writable)
> ...)
>
> Though you could also handle this during the make process via .in
> files if you didn't want to have to run all the conditionals on every
> load.
This is actually used in "make check" for fixincludes for GCC.
If you have the sources, it's the last line of
gcc/fixinc/check.tpl. :-) Thanks.