Katsumi Yamaoka <[EMAIL PROTECTED]> writes:

> 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'.

Thanks for explaining!

As for switching to gnus, I replaced the defadvice with a lambda
function:

,----
| (global-set-key (kbd "<f6>") (lambda ()
|                                (interactive)
|                                (let ((buf (get-buffer "*Group*")))
|                                  (if buf
|                                      (switch-to-buffer buf)
|                                    (call-interactively 'gnus)
|                                    (gnus-demon-init)))))
`----

I dislike frames. Never use any. :P

-- 
William

http://williamxu.net9.org



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to