aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-18 17:53:42 +0530
committerArun Isaac2022-08-18 17:54:17 +0530
commit0cb1615478427e657339aeed66fef601c20fd07c (patch)
treeba50eac4f460e6ba00fd666d62d3ac0dbe063864
parentd4228b8c5173251e90595209f9fe88ee305f9ed4 (diff)
downloadennum-0cb1615478427e657339aeed66fef601c20fd07c.tar.gz
ennum-0cb1615478427e657339aeed66fef601c20fd07c.tar.lz
ennum-0cb1615478427e657339aeed66fef601c20fd07c.zip
Treat author name as plain text.
* ennum.el (ennum--read-post): Treat author name as plain text. Do not export it using org.
-rw-r--r--ennum.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/ennum.el b/ennum.el
index a5aae42..06c1060 100644
--- a/ennum.el
+++ b/ennum.el
@@ -280,8 +280,7 @@ the current state of all its variables."
(ennum-make-post
:filename filename
:slug (file-name-base filename)
- :author (when-let (author (plist-get metadata :author))
- (funcall export (seq-first author)))
+ :author (seq-first (plist-get metadata :author))
:date (org-timestamp-to-time (seq-first (plist-get metadata :date)))
:language (plist-get metadata :language)
:links links