I am trying to tidy up my mu4e-refile-folder conditional and not quite sure
of the lisp for "or". Tried to find examples but nothing appears to work.
For example I would like a condition for matching multiples.
(setq mu4e-refile-folder
(lambda (msg)
(cond
;; message refiling
((mu4e-message-contact-field-matches msg :from (or "[email protected]"
"[email protected]")) "/cartoons")
;; everything else refiles to /archive
(t "/archive"))))
Any help?
Also how would I implement an "or" for the :from and :to ...
(mu4e-message-contact-field-matches msg (or :from :to) (...
Many thanks,
'Mash
--
You received this message because you are subscribed to the Google Groups
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.