diff options
Diffstat (limited to 'ennu.el')
-rw-r--r-- | ennu.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -267,9 +267,9 @@ with two arguments -- the key and the value." (ennu-plist-map-to-plist (lambda (key value) (pcase key - (:title (funcall export (first (plist-get metadata :title)))) - (:date (org-timestamp-to-time (first (plist-get metadata :date)))) - (:author (funcall export (first (plist-get metadata :author)))))) + ((or :author :title) + (funcall export (first (plist-get metadata key)))) + (:date (org-timestamp-to-time (first (plist-get metadata :date)))))) metadata)))) (defvar ennu-mandatory-metadata |