From b0d3fbacad614325191f045e0838f4ae0987dd25 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 17 Aug 2022 00:13:19 +0530 Subject: Use posts-directory argument in ennum-posts. * ennum.el (ennum-posts): Use posts-directory argument instead of querying for it again using ennum-setting. --- ennum.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3