Merge pull request #737 from zakkak/fix_mu4e_context_determine

mu4e: Fix mu4e-context-determine to match documentation
This commit is contained in:
Dirk-Jan C. Binnema
2015-12-16 20:26:19 +02:00

View File

@ -107,7 +107,7 @@ If there are contexts but none match, return nil, unless
(or (find-if (lambda (context)
(and (mu4e-context-match-func context)
(funcall (mu4e-context-match-func context) msg))) mu4e-contexts)
(car mu4e-contexts))))
(when pick-first (car mu4e-contexts)))))
(provide 'mu4e-context)