Achim Gratz writes: > This causes the (current-buffer) to expand literally into the byte-code > (look at the byte-code!) instead of being compiled as a function, which > obviously isn't going to work. This does not happen if I either remove > the cond form or if I wrap the BODY in save-restriction in progn, but I > haven't done any further investigation if the code still works with that > change and if maybe there are other places that are similarly struck.
No, that's not right... as long as I compile org-export.el in isolation, it compiles correctly. It croaks if I compile either one of org-e-html.el or org-e-odt.el in the same session. These are the two backends that have a (require 'org-export) in them. SOmething about this must be altering the environment in a way that throws the byte-compiler off-course. Back to the drawing board. :-( Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra