>>>> "John" == John Paul Wallington
<jpw(a)shootybangbang.com> writes:
John> xemacs -vanilla
John> (functionp 'loop)
John> => t
John> (loop for x from 0 to 3
John> do (princ x))
John> => 0123nil
John> (functionp 'loop)
John> => nil
Hi John,
while I can't explain this behavior, I can suggest a workaround:
(fboundp 'loop)
works fine before and after loading the macro.
Here's an extended test case:
(boundp 'loop)
nil
(fboundp 'loop)
t
(functionp 'loop)
t
(loop for x from 0 to 3
do (princ x))
0123nil
(boundp 'loop)
nil
(fboundp 'loop)
t
(functionp 'loop)
nil
John> --
John> John Paul Wallington
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/