branch: externals/denote-sequence
commit 16ed895b7c83706fd8ab28f349da177164951347
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make denote-sequence-get-all-files-with-max-depth use FILES without passing
it along
Otherwise we can get unexpected behaviour.
---
denote-sequence.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index cf0fb3177f..799ebd56f5 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -499,7 +499,7 @@ With optional FILES, operate on them, else use the return
value of
(components (denote-sequence-split sequence))
((>= depth (length components))))
file))
- (denote-sequence-get-all-files files))))
+ (or files (denote-sequence-get-all-files)))))
(defun denote-sequence-get-all-sequences (&optional files)
"Return all sequences in `denote-directory-files'.