commit db69616dadda5d705068748c1c2204a0991e2d44
parent e6cff14e1d7ea067afd0b501180e02865422aeeb
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 4 May 2022 15:54:32 +0200
tools/emacs: make sure refile-target only use `.org$` files
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el
@@ -103,7 +103,7 @@
org-enforce-todo-dependencies t
org-refile-targets (append '((org-inbox-file :level . 0))
(->>
- (directory-files org-projects-dir nil ".org")
+ (directory-files org-projects-dir nil ".org$")
(--remove (s-starts-with? "." it))
(--map (format "%s/%s" org-projects-dir it))
(--map `(,it :level . 1))))