summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ennu.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/ennu.el b/ennu.el
index adcae17..93abe57 100644
--- a/ennu.el
+++ b/ennu.el
@@ -72,7 +72,8 @@
(pcase tangle-output-file
("no" nil)
(_ tangle-output-file))))))))
- :summary (funcall export (first (plist-get metadata :summary)))
+ :summary (when-let (summary (plist-get metadata :summary))
+ (funcall export (first summary)))
:tags (plist-get metadata :filetags)
:thumbnail (or (plist-get metadata :thumbnail)
(seq-some (lambda (link)