summaryrefslogtreecommitdiff
path: root/ennum.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennum.el')
-rw-r--r--ennum.el17
1 files changed, 1 insertions, 16 deletions
diff --git a/ennum.el b/ennum.el
index 955a0bf..855aade 100644
--- a/ennum.el
+++ b/ennum.el
@@ -326,22 +326,7 @@ result as a string."
(ennum-mkdir-p (file-name-directory output-file))
(let ((system-time-locale (map-elt (ennum-setting :locale-alist)
(ennum-post-language post) nil 'string=))
- (ext-plist (list :ennum-post-titles
- (ennum--filter-map
- (lambda (link)
- (when (and (ennum-post-link-p link)
- (not (eq (ennum-post-link-target-title link)
- 'not-required)))
- (cons (ennum-post-link-path link)
- (ennum-post-link-target-title link))))
- (ennum-post-links post))
- :ennum-translations (ennum-post-translations post)
- :ennum-video-posters
- (ennum--filter-map (lambda (link)
- (when (eq (ennum-link-type link) 'video)
- (cons (ennum-link-path link)
- (ennum-video-link-poster link))))
- (ennum-post-links post)))))
+ (ext-plist (list :ennum-post post)))
(ennum-with-file-contents interned-org-file
(if output-html-file
(org-export-to-file 'ennum-html output-file nil nil nil body-only ext-plist)