[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no gnus registry new dependency on ert?

From: David Engster
Subject: Re: no gnus registry new dependency on ert?
Date: Wed, 06 Apr 2011 16:57:05 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (darwin)

Ted Zlatanov writes:
> On Wed, 06 Apr 2011 15:28:07 +0200 David Engster <address@hidden> wrote: 
> DE> It seems like putting (require 'ert) into an eval-when-compile is not
> DE> sufficient. You have to require it unconditionally.
> DE> So maybe your first idea was The Right Thing To Do, meaning to use
> DE> (require 'ert nil t)
> DE> and then test for feature 'ert. Alternatively, you could use the current
> DE> hack and put this require in there, too. But this is getting
> DE> increasingly ugly...
> See the attached patch, which just adds (require 'ert nil t) *in
> addition* to the defmacro hack.  It seems to DTRT for me, let me know
> what you think.

Yes, that's what I meant with the latter suggestion. I'm not sure if
this is the right way to solve this, but it works for me, too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]