Re: [PATCH] emacs: Fix a notmuch-print.el compiler warning.

Subject: Re: [PATCH] emacs: Fix a notmuch-print.el compiler warning.

Date: Wed, 25 Jan 2012 12:35:55 +0200

To: David Edmondson, Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Wed, 25 Jan 2012 09:24:46 +0000, David Edmondson <dme@dme.org> wrote:
> On Wed, 25 Jan 2012 11:19:30 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> > On Wed, 25 Jan 2012 08:52:15 +0000, David Edmondson <dme@dme.org> wrote:
> > > `notmuch-show-get-prop' should be declared.
> > > ---
> > 
> > How 'bout 
> > 
> > (require 'notmuch-lib)
> > 
> > and put that declare-function there ?
> > 
> > So that when declaration gets checked when notmuch-show defuns it 
> 
> That doesn't work, as I recall. A `declare-function' in a `require'd
> file has no effect - the compiler will still complain.

Ok

+1

I (might) check how check-declare can be used here...


Tomi

Thread: