Vladimir Lomov writes: > Begining from some revision (I don't remember exact revno) function > `flet' was declared obsolete so Org-mode compilation is accompanied with > warnings about that. > > If just ignore them then I get malfunction Org-mode. I made patch to > change all `flet's to appropriate functions and it works.
This should not happen if I understood Stefan correctly and you should log a bug against Emacs. > The problem is that these functions are new too. As I see it, the patch > will "break" compatability with current and older versions of Emacs. > > WDYT? Org needs to stay backwards compatible with older Emacs versions, so it will likely not be possible to directly replace things as you've done. I'm not sure a defsubst would cut it, so it looks like this will become another compatibility macro (expanding to either flet or cl-flet depending on Emacs version). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs