File.el compiles to null file.elc
Thomas Mittelstaedt
tmstaedt at t-mittelstaedt.de
Fri Sep 9 07:49:23 EDT 2011
Am Freitag, den 09.09.2011, 11:08 +0000 schrieb Alan Mackenzie:
> Hi, XEmacs.
>
> XEmacs 21.5.b31, 21.4.22
>
> At the moment, when I compile cc-align.el on either of the two versions,
> the resulting cc-align.elc is empty. More precisely, it looks like
> this in its entirety:
>
>
> ;ELC^T^@^@^@
> ;;; compiled by acm at acm.acm on Fri Sep 9 10:53:29 2011
> ;;; from file /home/acm/cc-mackenzie-2011-08-30/cc-align.el
> ;;; emacs version 21.4 (patch 22) "Instant Classic" XEmacs Lucid.
> ;;; bytecomp version 2.27 XEmacs; 2000-09-12.
> ;;; optimization is on.
> ;;; this file uses opcodes which do not exist in Emacs 19.
>
> (if (and (boundp 'emacs-version)
> (or (and (boundp 'epoch::version) epoch::version)
> (string-lessp emacs-version "20")))
> (error "`cc-align.el' was compiled for Emacs 20"))
>
> (or (boundp 'current-load-list) (setq current-load-list nil))
>
>
> cc-align.el hasn't changed since it last compiled, but some of the files
> it requires have.
>
> Is this a known bug? What can I do about it?
>
Had the same problem when I installed the latest cc-mode and followed
the instruction in the README file.
Solution was to do a byte-compile-file cc-align.el from xemacs
afterwards.
--
thomas
More information about the XEmacs-Beta
mailing list