X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=89c01a578ccdfe331599f21fc3174d1e15807923;hp=dedcbeb865562903a2595e0a5883ef0e01a2d8c4;hb=bceb6516cee170d3ad4b620826d48e90f05a12b1;hpb=4c7a592d49266d588e717c232bc7aacbe4e16bfb diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index dedcbeb8..89c01a57 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -232,6 +232,9 @@ on the command line, and then retry your notmuch command"))) "Return the user.other_email value (as a list) from the notmuch configuration." (split-string (notmuch-config-get "user.other_email") "\n" t)) +(defun notmuch-user-emails () + (cons (notmuch-user-primary-email) (notmuch-user-other-email))) + (defun notmuch-poll () "Run \"notmuch new\" or an external script to import mail.