branch: externals/denote commit 070d4412ee89a5ccccc2e24d350f3d3b1ad67f98 Author: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com> Commit: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>
Set org-id-extra-files to all files in all subdirectories. Clicking on an id: link to a note in a subdirectory should work. --- denote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote.el b/denote.el index bafba9c65c..039a8ffd7f 100644 --- a/denote.el +++ b/denote.el @@ -260,7 +260,7 @@ We consider those characters illigal for our purposes.") (unless (file-directory-p path) (make-directory path t)) (when (require 'org-id nil :noerror) - (setq org-id-extra-files (directory-files path nil "\.org$"))) + (setq org-id-extra-files (directory-files-recursively path "\.org$"))) (file-name-as-directory path))) (defun denote--extract (regexp str &optional group)