Ralf Angeli <[EMAIL PROTECTED]> writes: > * Artemio Gonzalez Lopez (2005-05-20) writes: > >> I tried your patch, > > Oh, cool. I did not expect this from being picked up right away. (c: > >> but now "make install" fails with the following >> error: > [...] >> Wrong number of arguments: update-autoload-files, 1make[1]: *** > > Oops, forget the second mandatory argument of `update-autoload-files'. > > I looked at the doc string of this function and related functions and > variables but cannot really make heads or tails of it. What is meant > by "feature" in this context? > > Anyway, if I had to _guess_ what to supply as second argument, I'd > choose "auto". This will hopefully generate an auto-autoloads.el > file. So the patch would look like this: > > --- prv-install.el 03 May 2005 14:40:13 +0200 1.10 > +++ prv-install.el 20 May 2005 15:33:45 +0200 > @@ -94,7 +94,11 @@ > ((string-equal "Generating autoloads for %s...done" fmt)) > (t (apply si:message fmt args)))) > (unwind-protect > - (update-autoloads-from-directory lisp-dir) > + (cond ((fboundp 'update-autoloads-from-directory) > + (update-autoloads-from-directory lisp-dir)) > + ((fboundp 'update-autoload-files) > + (update-autoload-files '(lisp-dir) "auto")) > + (t (error "Failed to generate autoloads."))) > (fset 'message si:message)) > (when (file-exists-p generated-autoload-file) > (with-temp-buffer (insert-file append-file) > > But I'd very much appreciate it if anybody with more knowledge about > the autoloads facilities in XEmacs 21.5 could shed some light on > this.
'(lisp-dir) ? You are not being serious, right? Either lisp-dir or (list lisp-dir) would be required, I'd guess. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
