Subject: bug#12740: 24.2.50; ERC fix broke modules after require

From: Stefan Monnier <[email-masked]>
Date: Fri, 26 Oct 2012 14:30:04 -0400

A shot in the dark: does the patch below fix your problems?

        Stefan

=== modified file 'lisp/erc/erc-backend.el'
--- lisp/erc/erc-backend.el	2012-10-18 15:51:28 +0000
+++ lisp/erc/erc-backend.el	2012-10-26 18:28:14 +0000
@@ -102,8 +102,7 @@
 ;; There's a fairly strong mutual dependency between erc.el and erc-backend.el.
 ;; Luckily, erc.el does not need erc-backend.el for macroexpansion whereas the
 ;; reverse is true:
-(provide 'erc-backend)
-(require 'erc)
+(eval-when-compile (provide 'erc-backend) (require 'erc))
 
 ;;;; Variables and options