From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: 12740@debbugs.gnu.org
Subject: bug#12740: 24.2.50; ERC fix broke modules after require
Date: Fri, 26 Oct 2012 14:30:04 -0400 [thread overview]
Message-ID: <jwvd305w0j9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87objp9qnr.fsf@gmail.com> (Antoine Levitt's message of "Fri, 26 Oct 2012 17:52:40 +0200")
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
next prev parent reply other threads:[~2012-10-26 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 14:58 bug#12740: 24.2.50; ERC fix broke modules after require Antoine Levitt
2012-10-26 15:21 ` Stefan Monnier
2012-10-26 15:52 ` Antoine Levitt
2012-10-26 18:30 ` Stefan Monnier [this message]
2012-10-26 18:47 ` Antoine Levitt
2012-10-28 15:35 ` Stefan Monnier
2012-10-28 15:41 ` Antoine Levitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd305w0j9.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12740@debbugs.gnu.org \
--cc=antoine.levitt@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.