GNU bug report logs - #12740
24.2.50; ERC fix broke modules after require

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Fri, 26 Oct 2012 15:01:01 UTC

Severity: normal

Found in version 24.2.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: 12740 <at> debbugs.gnu.org
Subject: bug#12740: 24.2.50; ERC fix broke modules after require
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
 





This bug report was last modified 12 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.