2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
- * erc-backend.el (erc-with-server-buffer): Autoload as well (bug#12669).
+ * erc-backend.el: Require `erc' instead of autoloading its macros
+ (bug#12669).
2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
(require 'erc-compat)
(eval-when-compile (require 'cl))
-(autoload 'erc-with-buffer "erc" nil nil 'macro)
-(autoload 'erc-with-server-buffer "erc" nil nil 'macro)
-(autoload 'erc-log "erc")
+;; 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)
;;;; Variables and options