branch: externals/denote-sequence
commit 6c772f3b6a7a48c471979658d4c4096b30ec52cc
Author: alan-w-255 <[email protected]>
Commit: alan-w-255 <[email protected]>
fix: denote-sequence-dired throw an error
error message: "Symbol’s value as variable is void: prefix"
---
denote-sequence.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index 848723083e..a3fc53691a 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -1109,7 +1109,7 @@ For a more specialised case, see
`denote-sequence-find-relatives-dired'."
(interactive (denote-sequence--get-interactive-for-prefix-and-depth))
(pcase-let* ((relative-p (denote-has-single-denote-directory-p))
(files-fn `(lambda ()
- (let* ((files (if (and prefix (not (string-blank-p
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