[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 5541eebbb9 06/11: Use denote-file-has-supported-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 5541eebbb9 06/11: Use denote-file-has-supported-extension-p instead of denote-filename-is-note-p |
Date: |
Mon, 16 Dec 2024 03:58:30 -0500 (EST) |
branch: externals/denote
commit 5541eebbb9a348e8c97acb303983806348fc969b
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Use denote-file-has-supported-extension-p instead of
denote-filename-is-note-p
---
denote.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index 3f90e093e0..ee556884ca 100644
--- a/denote.el
+++ b/denote.el
@@ -1309,7 +1309,7 @@ With optional OMIT-CURRENT as a non-nil value, do not
include the
current Denote file in the returned list.
With optional TEXT-ONLY as a non-nil value, limit the results to
-text files that satisfy `denote-filename-is-note-p'.
+text files that satisfy `denote-file-has-supported-extension-p'.
With optional EXCLUDE-REGEXP exclude the files that match the given
regular expression. This is done after FILES-MATCHING-REGEXP and
@@ -1323,7 +1323,7 @@ OMIT-CURRENT have been applied."
(string-match-p files-matching-regexp
(denote-get-file-name-relative-to-denote-directory f)))
files)))
(when text-only
- (setq files (seq-filter #'denote-filename-is-note-p files)))
+ (setq files (seq-filter #'denote-file-has-supported-extension-p files)))
(when exclude-regexp
(setq files (seq-remove
(lambda (file)
@@ -1392,7 +1392,7 @@ something like .org even if the actual file extension is
(seq-find
(lambda (file)
(let ((file-extension (denote-get-file-extension file)))
- (and (denote-filename-is-note-p file)
+ (and (denote-file-has-supported-extension-p file)
(or (string= (denote--file-extension denote-file-type)
file-extension)
(string= ".org" file-extension)
- [elpa] externals/denote updated (2ab74c1d47 -> c6bc62d6c9), ELPA Syncer, 2024/12/16
- [elpa] externals/denote edda750506 04/11: Handle nil date in front matter date functions, ELPA Syncer, 2024/12/16
- [elpa] externals/denote 119624e038 03/11: Small refactor of denote-directory-files, ELPA Syncer, 2024/12/16
- [elpa] externals/denote f11966e642 07/11: Add check in denote--get-all-used-ids, ELPA Syncer, 2024/12/16
- [elpa] externals/denote 5541eebbb9 06/11: Use denote-file-has-supported-extension-p instead of denote-filename-is-note-p,
ELPA Syncer <=
- [elpa] externals/denote c6bc62d6c9 11/11: Document the optional use of Obsidian-style front matter, ELPA Syncer, 2024/12/16
- [elpa] externals/denote f6fe1e27e6 08/11: Merge pull request #497 from jeanphilippegg/some-changes, ELPA Syncer, 2024/12/16
- [elpa] externals/denote 3ca5797934 05/11: Add denote-file-is-in-denote-directory-p, ELPA Syncer, 2024/12/16
- [elpa] externals/denote ee8b53b5c9 02/11: Use denote-file-has-denoted-filename-p in fontification, ELPA Syncer, 2024/12/16
- [elpa] externals/denote af8279fba4 10/11: Merge branch 'obsidian-file-type', ELPA Syncer, 2024/12/16
- [elpa] externals/denote 05edc7dc5e 01/11: Make it possible to rewrite the front matter even if file name is unchanged, ELPA Syncer, 2024/12/16
- [elpa] externals/denote 2f1a221f5d 09/11: Define the markdown-obsidian front matter in denote-md-extras.el, ELPA Syncer, 2024/12/16