summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-07-31 01:45:18 +0530
committerArun Isaac2020-07-31 01:45:18 +0530
commitdec62cff5d4bc05589361a53d5939ff2f032f231 (patch)
tree638f5ed61a52cd195dc263d538e235115f44dcda
parent9b53537b89d83fd7ade6a8707bb932d46564519a (diff)
downloadennum-dec62cff5d4bc05589361a53d5939ff2f032f231.tar.gz
ennum-dec62cff5d4bc05589361a53d5939ff2f032f231.tar.lz
ennum-dec62cff5d4bc05589361a53d5939ff2f032f231.zip
Prefix :translations in info with ennum-.
* ennum.el (ennum-publish-post): Prefix :translations in info communication channel with ennum-. * ennum-html.el (ennum-html-inner-template): Use :ennum-translations instead of :translations.
-rw-r--r--ennum-html.el2
-rw-r--r--ennum.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/ennum-html.el b/ennum-html.el
index 1475927..10a6e65 100644
--- a/ennum-html.el
+++ b/ennum-html.el
@@ -230,7 +230,7 @@
:datetime ,(org-export-get-date info "%Y-%m-%d 12:00:00")
,(org-export-get-date info "%B %d, %Y"))))))))
;; Interlanguage language links
- (when-let (translations (plist-get info :translations))
+ (when-let (translations (plist-get info :ennum-translations))
(format "<p>In other languages: %s</p>"
(mapconcat
(lambda (translation)
diff --git a/ennum.el b/ennum.el
index 69a7b5b..481d262 100644
--- a/ennum.el
+++ b/ennum.el
@@ -119,7 +119,7 @@ last form in BODY."
(ennum-with-file-contents (ennum-post-filename post)
(org-export-to-file
'ennum-html output-file nil nil nil nil
- (list :translations (seq-remove (apply-partially 'equal post) posts))))))
+ (list :ennum-translations (seq-remove (apply-partially 'equal post) posts))))))
posts
output-files))))
(ennum--filter-map