|
From: | Jason Rumney |
Subject: | Re: Splitting and moving generic.el. |
Date: | Wed, 20 Apr 2005 12:36:06 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Lute Kamstra wrote:
Doing (require 'generic-x) shouldn't load generic unless generic-x is loaded from source. Any idea why your lisp/generic-x.el isn't compiled?
generic-x.el is in the DONTCOMPILE list in the lisp makefile.
There was an old generic.elc that didn't get cleaned out by the bootstrap. This is probably the biggest problem caused by moving files around, CVS might delete the old .el file, but the .elc gets left behind.The error suggests that an old version of generic is used (from before define-generic-mode became a macro, one month ago). Do you have lisp/emacs-lisp/generic.el, revision 1.1? Is your lisp/emacs-lisp/generic.elc up to date? Is an old lisp/generic.el{,c} shadowing lisp/emacs-lisp/generic.el{,c}?
Can you reproduce your problem when you (do a make bootstrap and) start Emacs with "emacs -Q" and do (require 'generic-x) manually? Lute.
[Prev in Thread] | Current Thread | [Next in Thread] |