summaryrefslogtreecommitdiff
path: root/ennum.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennum.el')
-rw-r--r--ennum.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/ennum.el b/ennum.el
index fa0e794..31e5e5f 100644
--- a/ennum.el
+++ b/ennum.el
@@ -159,8 +159,7 @@ respectively by - and _, and the pad character = is optional."
(ennum--filter-map
(lambda (file)
(when (string= (file-name-extension file) "org")
- (ennum-read-post
- (ennum--file-join (ennum-setting :posts-directory) file))))
+ (ennum-read-post file)))
(ennum-directory-files (ennum-setting :posts-directory)))))
;; Group posts by translation group.
(seq-group-by
@@ -330,8 +329,7 @@ result as a string."
(seq-mapcat 'ennum-publish-link (ennum-post-links post)))))
(defun ennum-publish-generic (other-files-directory file)
- (let ((interned-file (ennum-intern
- (ennum--file-join other-files-directory file))))
+ (let ((interned-file (ennum-intern file)))
(ennum-exp
(let ((output-file
(pcase (file-name-extension file)