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 09:24:46 +0000

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Edmondson


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.
part-000.sig (application/pgp-signature)

Thread: