]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs: convert to use format-version 3
[notmuch] / emacs / notmuch-show.el
index aafdd3d77282af3ade478c7c6d65f1951e483b0d..1cbcc132030a67c347938b943d70beb2fd67a59e 100644 (file)
@@ -1677,9 +1677,10 @@ current thread."
 
 ;; dme: Would it make sense to use a macro for many of these?
 
+;; XXX TODO figure out what to do about multiple filenames
 (defun notmuch-show-get-filename ()
   "Return the filename of the current message."
-  (notmuch-show-get-prop :filename))
+  (car (notmuch-show-get-prop :filename)))
 
 (defun notmuch-show-get-header (header &optional props)
   "Return the named header of the current message, if any."