[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] auctex installation fails under Mac OS X 10.4 and xemac

From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] auctex installation fails under Mac OS X 10.4 and xemacs
Date: Fri, 20 May 2005 15:43:52 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* 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))))
-        (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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]