Subject: bug#18466: 24.4.50; Failure to byte-compile rmailmm.el

From: Glenn Morris <[email-masked]>
Date: Sat, 13 Sep 2014 12:44:42 -0400

Eli Zaretskii wrote:

> Any change that causes recompilation of rmail.el will thereafter cause
> a failure to compile rmailmm.el:
>
>   In toplevel form:
>   lisp/mail/rmailmm.el:78:1:Error: Symbol's value as variable is void: rmail-spool-directory

This is http://debbugs.gnu.org/17407 .

I think there are several problems with the autoloads generation
mechanism, but the simple way to avoid this is to use a separate
obsolete/loaddefs.el file that loadup.el loads if present.
(Not sure I have time to make that change right now though.)