From 47feff5a8b5f1bb1c991c0b4268a4376850f11af Mon Sep 17 00:00:00 2001 From: ulfl <336dev@gmail.com> Date: Sat, 30 May 2020 12:52:25 +0200 Subject: [PATCH] (feat): allow for symlinks in the org roam directory (#733) --- org-roam.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam.el b/org-roam.el index 410bb1e..ab0a2a2 100644 --- a/org-roam.el +++ b/org-roam.el @@ -328,7 +328,7 @@ E.g. (\".org\") => (\"*.org\" \"*.org.gpg\")" "Return all Org-roam files located recursively within DIR, using elisp." (let ((regex (concat "\\.\\(?:"(mapconcat #'regexp-quote org-roam-file-extensions "\\|" )"\\)\\(?:\\.gpg\\)?\\'")) result) - (dolist (file (directory-files-recursively dir regex) result) + (dolist (file (directory-files-recursively dir regex nil nil t) result) (when (and (file-readable-p file) (org-roam--org-file-p file)) (push file result)))))