[PATCH] emacs: Fix a notmuch-print.el compiler warning.
David Edmondson
dme at dme.org
Wed Jan 25 01:24:46 PST 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120125/7732edfb/attachment-0001.pgp>
More information about the notmuch
mailing list