diff options
| author | Stefan Monnier | 2012-10-18 11:51:28 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-10-18 11:51:28 -0400 |
| commit | 393e94faab632affef628462753d2e5587a274b1 (patch) | |
| tree | c9fdbd95db2ca052677841292bbbf9dbdfcbb4d3 | |
| parent | aaf0c30025d24dba6d50fda6e61510020c2d611e (diff) | |
| download | emacs-393e94faab632affef628462753d2e5587a274b1.tar.gz emacs-393e94faab632affef628462753d2e5587a274b1.zip | |
* lisp/erc/erc-backend.el: Require `erc' instead of autoloading its macros.
Fixes: debbugs:12669
| -rw-r--r-- | lisp/erc/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index df1e74ac39f..bb8dadbbfcd 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * erc-backend.el (erc-with-server-buffer): Autoload as well (bug#12669). | 3 | * erc-backend.el: Require `erc' instead of autoloading its macros |
| 4 | (bug#12669). | ||
| 4 | 5 | ||
| 5 | 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6 | 7 | ||
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 507cff87b6b..858a6bd8e82 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -99,9 +99,11 @@ | |||
| 99 | 99 | ||
| 100 | (require 'erc-compat) | 100 | (require 'erc-compat) |
| 101 | (eval-when-compile (require 'cl)) | 101 | (eval-when-compile (require 'cl)) |
| 102 | (autoload 'erc-with-buffer "erc" nil nil 'macro) | 102 | ;; There's a fairly strong mutual dependency between erc.el and erc-backend.el. |
| 103 | (autoload 'erc-with-server-buffer "erc" nil nil 'macro) | 103 | ;; Luckily, erc.el does not need erc-backend.el for macroexpansion whereas the |
| 104 | (autoload 'erc-log "erc") | 104 | ;; reverse is true: |
| 105 | (provide 'erc-backend) | ||
| 106 | (require 'erc) | ||
| 105 | 107 | ||
| 106 | ;;;; Variables and options | 108 | ;;;; Variables and options |
| 107 | 109 | ||