info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "You should byte-compile Gnus" ?


From: Katsumi Yamaoka
Subject: Re: "You should byte-compile Gnus" ?
Date: Mon, 25 Feb 2008 20:10:19 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

>>>>> William Xu wrote:

> I don't quite understand, though. A defadvice will forbid it from being
> byte-compiled?

The default value of `ad-default-compilation-action' is `maybe'
which means not to compile advised functions if bytecomp.elc is
not loaded.  Though that advice to gnus seems needless now ;-),
there are several ways to force the byte-compilation:

1. Load bytecomp, i.e. (require 'bytecomp), before performing advice.
2. Add the `compile' flag to the arglist of defadvice.  E.g.;
   (defadvice FUNCTION (CLASS NAME ... compile) ...)
3. Set `ad-default-compilation-action' to `always'.

Regards,


reply via email to

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