X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/4c7a592d49266d588e717c232bc7aacbe4e16bfb..bceb6516cee170d3ad4b620826d48e90f05a12b1:/emacs/notmuch-lib.el?ds=sidebyside 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.