projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
430fb27
)
emacs: Document notmuch-show-get-message-properties
author
Daniel Schoepe
<daniel.schoepe@googlemail.com>
Fri, 8 Jul 2011 18:46:55 +0000
(20:46 +0200)
committer
David Bremner
<bremner@debian.org>
Fri, 16 Dec 2011 12:34:26 +0000
(08:34 -0400)
emacs/notmuch-show.el
patch
|
blob
|
history
diff --git
a/emacs/notmuch-show.el
b/emacs/notmuch-show.el
index ec9c52cd94c2eb5d3e54aa367730d0b377f14ba1..63b01e53961faa4620f24a3f748e3c6ffa7267bc 100644
(file)
--- 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)))