From 3f02ba340688c171bb853b62b130e301e5de7837 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe Date: Fri, 8 Jul 2011 20:46:55 +0200 Subject: [PATCH] emacs: Document notmuch-show-get-message-properties --- emacs/notmuch-show.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index ec9c52cd..63b01e53 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1053,6 +1053,12 @@ All currently available key bindings: (put-text-property (point) (+ (point) 1) :notmuch-message-properties props))) (defun notmuch-show-get-message-properties () + "Return the properties of the current message as a plist. + +Some useful entries are: +:headers - Property list containing the headers :Date, :Subject, :From, etc. +:body - Body of the message +:tags - Tags for this message" (save-excursion (notmuch-show-move-to-message-top) (get-text-property (point) :notmuch-message-properties))) -- 2.43.0