home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!nestroy!news-mail-gateway
- From: jwz@lucid.COM (Jamie Zawinski)
- Subject: Re: retained state from byte compile
- Message-ID: <9208272000.AA06497@thalidomide.lucid>
- Sender: jwz%thalidomide@lucid.com
- Organization: WU Mail/News Gateway
- References: <LYSTAD.92Aug27120852@m2.dseg.ti.com>
- Date: Thu, 27 Aug 1992 20:00:44 GMT
- Lines: 15
-
- In message <LYSTAD.92Aug27120852@m2.dseg.ti.com> Garr Lystad wrote:
- >
- > I wrote a little advise macro when I first started using Epoch.
- > One of my files advises an lemacs function (call it x) and the advice
- > calls a function I define in the same file (call this function of mine
- > y). If I do not load or evaluate any part of the file, but I do byte
- > compile it, the advice on x remains and I get an error because y is
- > undefined. That shouldn't really be, should it?
-
- It sounds to me like your adviser is a macro, and it is doing its work
- in the macroexpander function rather than in the emitted code. This is
- a no-no. It worked with the old byte compiler because it simply didn't
- compile top-level calls to macros.
-
- -- Jamie
-