|
From: Lawrence M. <we...@gm...> - 2004-05-14 12:26:11
|
Lawrence Mitchell wrote: > Edward O'Connor wrote: >> This isn't just a help-Lawrence-out thing; the new code breaks quite >> thoroughly when byte-compiled. FYI. It seems to be an issue with using >> `erc-with-buffer' in `define-erc-response-handler' forms. >> `erc-with-buffer' is defined as a macro in erc.el, which is not >> `require'd by erc-backend.el (in fact, it's quite the opposite). So this >> `erc-with-buffer' is being byte-compiled as a function call. Does this patch fix things temporarily until I can think of a cleaner fix? Index: erc-backend.el =================================================================== RCS file: /cvsroot/erc/erc/erc-backend.el,v retrieving revision 1.1 diff -u -r1.1 erc-backend.el --- erc-backend.el 13 May 2004 17:30:10 -0000 1.1 +++ erc-backend.el 14 May 2004 12:24:20 -0000 @@ -95,8 +95,8 @@ ;; new interface. ;;; Code: - (require 'cl) +(autoload 'erc-with-buffer "erc" nil nil 'macro) (defconst erc-backend-version "$Revision: 1.1 $") [...] -- Lawrence Mitchell <we...@gm...> |