[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12740: 24.2.50; ERC fix broke modules after require
From: |
Stefan Monnier |
Subject: |
bug#12740: 24.2.50; ERC fix broke modules after require |
Date: |
Fri, 26 Oct 2012 14:30:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
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