Uwe Brauer writes: > I don't understand: > > (defun my-test-if () > (interactive) > (if (featurep 'xemacs) > (message "Xemacs") > (message "GNUS"))) > > > when executed in Xemacs returns Xemacs, when executed in GNU emacs returns > GNUS.
Yes, but the byte-compiler has to compile both branches, since the if is actually resolved at run-time. You'd need to use a compatibility macro to make that decision at compile-time and only use the XEmacs branch. That was once in Org, but later reverted by Bastien. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves