branch: externals/denote-sequence
commit d5233c971fbf077dd987521a12083b3c2d933b0b
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Account for empty string in denote-sequence-dired
---
denote-sequence.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index bf202f1d19..cf0fb3177f 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -1109,7 +1109,7 @@ For a more specialised case, see
`denote-sequence-find-relatives-dired'."
nil))))
(pcase-let* ((relative-p (denote-has-single-denote-directory-p))
(files-fn `(lambda ()
- (let* ((files (if ,prefix
+ (let* ((files (if (and prefix (not (string-blank-p
prefix)))
(denote-sequence-get-all-files-with-prefix ,prefix)
(denote-sequence-get-all-files)))
(files-with-depth (if ,depth