About a week ago, I complained that I could no longer build the
text-modes package if I didn't have ispell installed on my system; see
http://list-archive.xemacs.org/xemacs-beta/200312/msg00357.html
for details. Since that post was greeted by thunderous silence, I
decided to dig in a little. Here's what I found. flyspell.el
requires ispell, which in turn invokes this little snippet of code in
ispell.el:
(defvar ispell-library-path (if (or (not (fboundp 'byte-compiling-files-p))
(not (byte-compiling-files-p)))
(check-ispell-version))
"The directory where ispell dictionaries reside.")
This code is supposed to check the ispell version and return the
ispell library path. It's apparently supposed to be turned off when
byte-compiling, but XEmacs has no such function as
byte-compiling-files-p (I couldn't find in fsf emacs either, but I
didn't look too hard).
I was going to add (setq ispell-library-path "/fake") to the compile
commmand line in the Makefile, but I couldn't decide what was the best
way to do that. I've now decided that was a good thing, as that would
be a hack; can somebody tell me what the appropriate way to miss out
the call to check-ispell-version is?
BTW, Steve, what is the best way to add a form to the compile command
line in a package Makefile?
Thanks,
Vin