Jouni K Seppanen jks@iki.fi writes:
Here's a simple patch without which I couldn't compile slime.el in XEmacs. It complained about the variable slime-path not being defined when compiling slime-changelog-date.
This is a bit a tricky. Your patch works when SLIME is in Emacs' load-path, but that's not necessarily the case during byte-compilation. Compiling slime-changelog-date requires something like *compile-truename* and the closest Emacs variable for this is byte-compile-current-file. Unfortunately this is not present in all Emacs versions
I committed the patch anyway. If we ever have a proper install script we can bind byte-compile-current-file before compiling.
Helmut.