[Top][All Lists]

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

Re: no gnus registry new dependency on ert?

From: Ted Zlatanov
Subject: Re: no gnus registry new dependency on ert?
Date: Wed, 06 Apr 2011 05:54:46 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Wed, 06 Apr 2011 12:10:26 +0200 David Engster <address@hidden> wrote: 

DE> Either that, or just do

DE> (eval-when-compile
DE>   (when (null (require 'ert nil t))
DE>     (defmacro* ert-deftest (name () &body docstring-keys-and-body))))

DE> to silence the byte-compiler. Your solution is less hacky, but then you
DE> have to always remember to wrap ert-deftest in those featurep clauses.

Oh, I like your solution better since I don't have to reindent ;)

I made the change in *registry.el, thanks.


reply via email to

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