I'm not sure what flyspell version this is, as there is unfortunately
nothing to indicate the version in the header of flyspell.el.
However, I have 3 problems with the one included in the latest XEmacs
package.
1. The line (defvar flyspell-mode-map (make-sparse-keymap))
needs an autoload cookie above it.
2. The lines adding the minor mode:
(add-minor-mode 'flyspell-mode
flyspell-mode-line-string
flyspell-mode-map
nil
flyspell-mode)
look like they should be
(add-minor-mode 'flyspell-mode
flyspell-mode-line-string
flyspell-mode-map
nil
#'flyspell-mode)
Note change in last line.
3. I signal the following error the first time it is run (M-x vm-mail):
Signaling: (wrong-type-argument number-char-or-marker-p nil)
flyspell-check-changed-word-p(59 59)
flyspell-post-command-hook()
as flyspell-pre-point is nil.
I can submit a patch for the first 2, but it may be best to get an
update through the author.
greg