[slime-devel] [PATCH] slime-path needed for compiling slime-changelog-date in slime.el
Helmut Eller
e9626484 at stud3.tuwien.ac.at
Sat Jan 31 19:46:27 UTC 2004
Jouni K Seppanen <jks at 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.
More information about the slime-devel
mailing list