From: Carl Worth Date: Thu, 28 Oct 2010 00:54:38 +0000 (-0700) Subject: emacs: Fix to eliminate warning in notmuch-query-map-aux X-Git-Tag: 0.4~46 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4ddb5ab4dd42208ba24989f188bdd06ab7865b5e;ds=sidebyside emacs: Fix to eliminate warning in notmuch-query-map-aux This is one of those cases where the warning looks absolutely correct, (complaining about a free variable), but I'm left wondering how the original code could have worked at all. From what I can tell, this code wasn't actually being called by any of the current code in notmuch. --- diff --git a/emacs/notmuch-query.el b/emacs/notmuch-query.el index 0d6e7759..26f95447 100644 --- a/emacs/notmuch-query.el +++ b/emacs/notmuch-query.el @@ -47,7 +47,7 @@ is a possibly empty forest of replies. (apply 'append (mapcar (lambda (tree) - (funcall mapper fn tree)) + (funcall mapper function tree)) seq))) (defun notmuch-query-map-threads (fn threads)