projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbbdf04
)
emacs: show: make return value of notmuch-show-get-prop explicit
author
Mark Walters
<markwalters1009@gmail.com>
Wed, 16 Jul 2014 18:03:16 +0000
(19:03 +0100)
committer
David Bremner
<david@tethera.net>
Wed, 30 Jul 2014 21:25:58 +0000
(18:25 -0300)
This makes the fact the notmuch-show-get-prop returns nil if the major
mode is neither show not tree explicit.
emacs/notmuch-show.el
patch
|
blob
|
history
diff --git
a/emacs/notmuch-show.el
b/emacs/notmuch-show.el
index 529baa972bbeccd49f70b7f50f796ed1959c41ad..7549fbb2d32643d79a2483ba7b2906920aa0ae3e 100644
(file)
--- a/
emacs/notmuch-show.el
+++ b/
emacs/notmuch-show.el
@@
-1485,7
+1485,8
@@
they just need the correct message properties."
(cond ((eq major-mode 'notmuch-show-mode)
(notmuch-show-get-message-properties))
((eq major-mode 'notmuch-tree-mode)
- (notmuch-tree-get-message-properties))))))
+ (notmuch-tree-get-message-properties))
+ (t nil)))))
(plist-get props prop)))
(defun notmuch-show-get-message-id (&optional bare)