Signed-off-by: Pieter Praet <pieter@praet.org> --- emacs/notmuch.el | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 674deb7..2338044 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -402,6 +402,14 @@ Complete list of currently available key bindings: "Return a list of threads for the current region" (notmuch-search-properties-in-region 'notmuch-search-thread-id beg end)) +(defun notmuch-search-find-matched-msgids () + "Return the matched Message-Id's for the current thread" + (get-text-property (point) 'notmuch-search-matched-msgids)) + +(defun notmuch-search-find-matched-msgids-region (beg end) + "Return a list of matched Message-Id's for the current region" + (notmuch-search-properties-in-region 'notmuch-search-matched-msgids beg end)) + (defun notmuch-search-find-authors () "Return the authors for the current thread" (get-text-property (point) 'notmuch-search-authors)) -- 1.7.5.4