]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - emacs/notmuch-show.el
emacs: show: make return value of notmuch-show-get-prop explicit
[notmuch.git] / emacs / notmuch-show.el
index 529baa972bbeccd49f70b7f50f796ed1959c41ad..7549fbb2d32643d79a2483ba7b2906920aa0ae3e 100644 (file)
@@ -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)