Fix mu4e-context-determine to match documentation

This commit is contained in:
Foivos S. Zakkak
2015-12-16 16:51:15 +02:00
parent e932399642
commit cf3c52d588

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)