eval, backquote, compilation
jcb+xeb at jcbradfield.org
Wed Dec 7 17:52:44 EST 2011
I realized that I don't really understand how byte compilation works.
I have a function that involves matching against a long multi-case
regexp, which is most easily constructed rather than spelt out, but
which is constant.
So what I'm doing currently is:
(eval `(defun myfn (args)
,( code to construct regexp )
I have no idea how this interacts with byte-compilation.
Does it "just work"? Or do I end up with a byte-compiled file that
will have the main code of myfn uncompiled?
If it doesn't "just work", what should I be doing?
More information about the XEmacs-Beta