]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fix to eliminate warning in notmuch-query-map-aux
authorCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 00:54:38 +0000 (17:54 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 28 Oct 2010 00:54:38 +0000 (17:54 -0700)
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.

emacs/notmuch-query.el

index 0d6e7759a6b57593597dbcdb70afe5128ee1b3bf..26f954474227f15052692ff6ba46479baf4350b7 100644 (file)
@@ -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)