================================================================
Dear Bug Team!
the bibtex.el in the latest textools package (v 1.15) uses a 3 arg form of
sit-for. Looking at 21.5 source, it seems that neither xemacs 21.5 nor
21.4 supports this (the docstring from emacs reports that emacs has form
(sit-for SECONDS &optional MILLISECONDS NODISP)
).
Assuming that, for compatibility's sake, sit-for should not be altered
to be compatible with emacs's, I suggest the following patch, which
seems to solve the issue for me:
/cygdrive/c/Documents and Settings/bpalmer/temp> /usr/bin/diff
--show-function-line="" -w /cygdrive/c/Program\
Files/XEmacs/xemacs-packages/lisp/textools/bibtex.el bibtex.el
192a193,199
(if (featurep 'xemacs)
(defalias 'bibtex-sit-for 'sit-for)
(defsubst bibtex-sit-for (seconds &optional nodisplay)
"Compatibility function to mask differences between emacs and xemacs
sit-for"
(sit-for seconds nil nodisplay)))
1384c1391
< (sit-for 1)
---
(bibtex-sit-for 1)
3786c3793
< (sit-for 1 nil t)
---
(bibtex-sit-for 1 t)
3792c3799
< (sit-for 5 nil t)
---
(bibtex-sit-for 5 t)
3798c3805
< (sit-for 2 nil t)
---
(bibtex-sit-for 2 t)