From: Michael O. <mw...@gn...> - 2006-01-21 15:30:37
|
Lawrence Mitchell <we...@gm...> writes: > I'm not sure defining erc-response as a struct is actually a > problem. Since defstruct is a macro, you can just require 'cl are > compile-time, which is fine as far as Emacs guidelines go I believe. > Essentially all the erc-response stuff is doing is wrapping some > syntactic sugar around the parsed server text so that there aren't > as many magic numbers lieing around in the source code. OK, I'll just change it to (eval-when-compile (require 'cl)) then. I was a bit unnerved at the extra warning that it produced when compiling (below), but on a second look, they don't appear fatal. In end of data: erc-backend.el:1763:1:Warning: the following functions might not be defined= at runtime: cl-struct-setf-expander, ... ^^^^^^^^^^^^^^^^^^^^^^^ =2D-=20 Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: manga, Debian, XHTML, wiki, Emacs Lisp /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG |_] | \| |_| Jabber: mwolson_at_hcoop.net |