X-Git-Url: https://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/b74ed1cfad09f578e7c05ca5676d9d3d8c512a5e..e0c58f5c6731decd3ad3488a0795540dce765f19:/emacs/notmuch-lib.el diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index f8e51658..041b74cc 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -228,6 +228,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.