X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-lib.el;h=cc80fb29ee24a5f6d59b77e1a3632719b67ae726;hp=74b3d6d2ab9c996090934cc4f162e5a9035ec3a1;hb=bc382902c10c7c39076a8c70da846317f505f527;hpb=d84e92709195d13a117d8f98847ff17f8ff2276c diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 74b3d6d2..cc80fb29 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -87,6 +87,10 @@ the user hasn't set this variable with the old or new value." "Return the user.primary_email value from the notmuch configuration." (notmuch-config-get "user.primary_email")) +(defun notmuch-user-other-email () + "Return the user.primary_email value (as a list) from the notmuch configuration." + (split-string (notmuch-config-get "user.other_email") "\n")) + (defun notmuch-kill-this-buffer () "Kill the current buffer." (interactive)