* Artemio Gonzalez Lopez (2005-05-20) writes:
Your last patch (with David's correction) did work, i.e., "make �
install" now finally succeeds. However, when I run xemacs I get the �
following warning:
(packages/warning) Error in Autoload /Users/artemio/.xemacs/xemacs-�
packages/lisp/auctex/auto-autoloads: Feature auto-autoloads already �
loaded
Backtrace follows:
�� signal(error ("Feature auto-autoloads already loaded"))
After reading the documentation in autoload.el again, I think I begin
to understand what is meant with "feature".
Does the following patch work?
--- prv-install.el� � 03 May 2005 14:40:13 +0200� � 1.10
+++ prv-install.el� � 20 May 2005 20:37:05 +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 (list lisp-dir) "auctex"))
+� � � � � (t (error "Failed to generate autoloads.")))
�� � � (fset 'message si:message))
�� � (when (file-exists-p generated-autoload-file)
�� � � (with-temp-buffer (insert-file append-file)
I am not sure though, if we should additionally put some version
information into the feature string.
--�
Ralf