Jochen Kuepper <[EMAIL PROTECTED]> writes: > I am having trouble upgrading to the latest cvs version of bbdb. The > last version that works for me is 20000704. With the latest (cvs of > today) I get an error upon executing > > (require 'bbdb) > (bbdb-initialize) > > in an -vanilla XEmacs-21.1 "20 Minutes to Nikko" (whatever patchlevel > that is) I get: The latest autoload.el in XEmacs checks the time of .el files and generated-autoload-file. ,-------- | (defun update-file-autoloads (file) | "Update the autoloads for FILE in `generated-autoload-file' | \(which FILE might bind in its local variables). | This function refuses to update autoloads files." | (interactive "fUpdate autoloads for file: ") | (setq file (expand-file-name file)) | (when (and (file-newer-than-file-p file generated-autoload-file) | (not (member (file-name-nondirectory file) | (list autoload-file-name)))) `-------- The attached patch fixes the bug, at least it works for both the recent XEmacs and GNU Emacs. ShengHuo 2000-08-24 00:19:22 ShengHuo ZHU <[EMAIL PROTECTED]> * lisp/Makefile (bbdb-autoloads.el): Remove bbdb-autoloads.el if XEmacs.
Index: Makefile =================================================================== RCS file: /cvsroot/bbdb/bbdb/lisp/Makefile,v retrieving revision 1.11 diff -c -3 -r1.11 Makefile *** Makefile 2000/08/03 11:29:49 1.11 --- Makefile 2000/08/24 04:18:26 *************** *** 68,73 **** --- 68,74 ---- @echo "" > $@; $(EMACS) -batch -q -l autoload \ --eval '(setq generated-autoload-file "'`pwd`'/$@")' \ + --eval "(if (featurep 'xemacs) (delete-file generated-autoload-file))" \ --eval '(setq make-backup-files nil)' \ --eval '(setq autoload-package-name "bbdb")' \ -f batch-update-autoloads `pwd`