[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 8e5899d90e 260/355: Match only files that start
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 8e5899d90e 260/355: Match only files that start with ID in file search |
Date: |
Sun, 26 Jun 2022 23:58:31 -0400 (EDT) |
branch: externals/denote
commit 8e5899d90e82ece34c930872f29330da2f4ee582
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Match only files that start with ID in file search
This way we avoid false positives such as the backups that Emacs
creates.
Also see commit ecaaa6b, which implements the same idea in another
function.
---
denote.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 08944f17d8..6e15c726e5 100644
--- a/denote.el
+++ b/denote.el
@@ -305,7 +305,8 @@ part of the list."
nil
(mapcar
(lambda (f)
- (when (and (string-match-p regexp f)
+ (when (and (string-match-p (concat "^" denote--id-regexp) f)
+ (string-match-p regexp f)
(or no-check-current
(not (string= (file-name-nondirectory (buffer-file-name))
f))))
f))
- [elpa] externals/denote f2cfcd26ea 205/355: Refine denote-retrieve regular expressions, (continued)
- [elpa] externals/denote f2cfcd26ea 205/355: Refine denote-retrieve regular expressions, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d46c8fec55 239/355: Add "Contributing" section to the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote bcbd52a784 200/355: Use format specifiers for denote-link-add-links, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 443c687f05 248/355: Update denote-dired--edit-front-matter-p docstring, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 9b9a764e57 230/355: Fix typo about package name, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d09249d48f 253/355: Make 'default-directory' safe for denote-directory, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 737c647957 246/355: Rename buffer post file rename, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d0584c0e15 271/355: Refine denote--only-note-p conditions, ELPA Syncer, 2022/06/27
- [elpa] externals/denote dcf8739474 261/355: Improve valid note test (revise ecaaa6b, 8e5899d), ELPA Syncer, 2022/06/27
- [elpa] externals/denote 83d53afae4 245/355: Improve dired revert-buffer post rename, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8e5899d90e 260/355: Match only files that start with ID in file search,
ELPA Syncer <=
- [elpa] externals/denote 341cd28b5a 266/355: Fix bug with 'default-directory' reset, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0f149afba2 264/355: Simplify how temp buffer contents are returned, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d8ef0a0c7c 282/355: EXPERIMENTAL Add buttonization for all links, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 843fb30dff 301/355: Answer FAQ about sorting files, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 47a9024b00 252/355: BREAKING update the .dir-locals.el sample, ELPA Syncer, 2022/06/27
- [elpa] externals/denote bd14f8a813 293/355: REMOVE denote-link-register-ol-hyperlink variable, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a611e08ec1 285/355: Clarify that linking still needs some updates, ELPA Syncer, 2022/06/27
- [elpa] externals/denote c3feb9a0ec 250/355: Remove superfluous when, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 662a71d051 330/355: Remove development note about links, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3b2db33812 322/355: Remove development note about backlinks, ELPA Syncer, 2022/06/27