aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-17 00:13:19 +0530
committerArun Isaac2022-08-17 00:51:55 +0530
commitb0d3fbacad614325191f045e0838f4ae0987dd25 (patch)
treef4ee6252b24f4e777bd7cee42c563ed7d66d2f2b
parent67fdece50779f1c986edd47ffa8363e41d688169 (diff)
downloadennum-b0d3fbacad614325191f045e0838f4ae0987dd25.tar.gz
ennum-b0d3fbacad614325191f045e0838f4ae0987dd25.tar.lz
ennum-b0d3fbacad614325191f045e0838f4ae0987dd25.zip
Use posts-directory argument in ennum-posts.
* ennum.el (ennum-posts): Use posts-directory argument instead of querying for it again using ennum-setting.
-rw-r--r--ennum.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ennum.el b/ennum.el
index 16c9159..7e75dc5 100644
--- a/ennum.el
+++ b/ennum.el
@@ -220,7 +220,7 @@ the current state of all its variables."
(lambda (file)
(when (string= (file-name-extension file) "org")
(ennum-read-post file)))
- (ennum-directory-files (ennum-setting :posts-directory)))))
+ (ennum-directory-files posts-directory))))
;; Group posts by translation group.
(seq-group-by
'ennum-post-translation-group