Hi Mehta,

 

This is an Emacs/XEmacs autoload incompatibility problem with recent versions of cedet. The makefile for recent versions of cedet generates a file called loaddefs.el that contains among other things autoload definitions for custom variables defined by cedet. These definitions use a function named custom-autoload that is defined by recent versions of Emacs but not by older versions, which did not support autoloading of custom variables, and possibly not by any version of XEmacs. In theory, the only way the problem could arise is if you or someone else built  cedet on a version of Emacs/XEmacs that supports autoloading of custom variables and then you use the built cedet on a version of Emacs/XEMacs that does not support autoloading of custom variables and hence does not define custom-autoload. The solution in this case would be to ensure that you are using a version of cedet that was built by the version of Emacs or XEmacs that you are using. If all else fails, you can create a dummy definition of custom-autoload in your .emacs file as follows:

 

(defun custom-autoload(&rest args))

 

Paul

 


From: Mehta, Miten (IM) [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 6:23 AM
To: [EMAIL PROTECTED]
Subject: custom-autoload

 

hello,

 

Let me know how to fix this.

 

My system is:

 

Xemacs 21.4.10, cedet-1.0beta3a, elib-1.0, jde-2.3.4

SunOS pisdb40 5.7 Generic_106541-20 sun4u sparc SUNW,Ultra-Enterprise

 

I have startup error:

 

symbol's function definiton is void: custom-autoload

 

with .emacs as:

 

(add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/cedet/common"))
(load-file (expand-file-name "~/emacs/site/cedet/common/cedet.el"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
 
(require 'jde) 
 

Miten Mehta

 


NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Reply via email to