[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote a3f635ff9d: Make sure denote-sequence-get-all-fi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote a3f635ff9d: Make sure denote-sequence-get-all-files-with-prefix checks only the prefix |
Date: |
Fri, 3 Jan 2025 09:57:55 -0500 (EST) |
branch: externals/denote
commit a3f635ff9dfc90438995393ca4060281cecc61ae
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make sure denote-sequence-get-all-files-with-prefix checks only the prefix
Otherwise, it returns false positives.
---
denote-sequence.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index 4debe07df3..948c8be2f9 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -114,7 +114,7 @@ With optional FILES, operate on them, else use the return
value of
(mapcar
(lambda (file)
(when-let* ((file-sequence (denote-sequence-file-p file))
- ((string-match-p sequence file-sequence)))
+ ((string-prefix-p sequence file-sequence)))
file))
(or files (denote-directory-files)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/denote a3f635ff9d: Make sure denote-sequence-get-all-files-with-prefix checks only the prefix,
ELPA Syncer <=