emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 070d4412ee 23/27: Set org-id-extra-files to all


From: ELPA Syncer
Subject: [elpa] externals/denote 070d4412ee 23/27: Set org-id-extra-files to all files in all subdirectories.
Date: Sun, 3 Jul 2022 00:57:35 -0400 (EDT)

branch: externals/denote
commit 070d4412ee89a5ccccc2e24d350f3d3b1ad67f98
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]