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

Tomi Ollila too at iki.fi
Wed Jan 25 02:35:55 PST 2012


On Wed, 25 Jan 2012 09:24:46 +0000, David Edmondson <dme at dme.org> wrote:
> On Wed, 25 Jan 2012 11:19:30 +0200, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> > On Wed, 25 Jan 2012 08:52:15 +0000, David Edmondson <dme at 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


More information about the notmuch mailing list