diff options
author | 2011-07-08 20:46:55 +0200 | |
---|---|---|
committer | 2011-12-16 08:34:26 -0400 | |
commit | 3f02ba340688c171bb853b62b130e301e5de7837 (patch) | |
tree | 026116393a610a438f6dc7b0c66e11690d04d814 | |
parent | 430fb27b3ef3a3c527084630d213db76be255e8e (diff) |
emacs: Document notmuch-show-get-message-properties
-rw-r--r-- | emacs/notmuch-show.el | 6 |
1 files changed, 6 insertions, 0 deletions
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))) |