Subject: bug#73812: 30.0.91; ERC 5.6.0.30.1: Customizing erc-modules loads ERC when starting Emacs

From: Eli Zaretskii <[email-masked]>
Date: Tue, 15 Oct 2024 15:07:36 +0300

> Cc: [email-masked], Eli Zaretskii <[email-masked]>
> From: "J.P." <[email-masked]>
> Date: Mon, 14 Oct 2024 19:57:00 -0700
> 
> >From emacs -Q
> 
> 1. $ mkdir /tmp/fake-home
> 2. $ echo "(custom-set-variables '(erc-modules ()))" > /tmp/fake-home/.emacs
> 3. $ HOME=/tmp/fake-home ./src/emacs
> 4. M-: (featurep 'erc) RET
> 
> Eli, can we add this patch to the release branch? It removes a single
> line containing an autoload cookie that's new in Emacs 30. (I'm running
> the check-expensive suite with the patch now.) Thanks.

Are we sure this doesn't break any customization scenarios?  Why was
this line added in the first place?  And why is it urgent to remove it
before Emacs 30 is released?