bug-auctex
[Top][All Lists]
Advanced

[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: Artemio Gonzalez Lopez
Subject: Re: [Bug-AUCTeX] auctex installation fails under Mac OS X 10.4 and xemacs
Date: Fri, 20 May 2005 23:19:53 +0200

On May 20, 2005, at 8:39 PM, Ralf Angeli wrote:

* 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


Ralf,

Your last patch did the job. Thank you very much for your patience and help!

Artemio Gonzalez-Lopez

address@hidden



reply via email to

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