[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 4997e6b007 02/11: Rename denote-sequence-get-seq
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 4997e6b007 02/11: Rename denote-sequence-get-sequences-with-max-depth to include "all" |
Date: |
Sun, 12 Jan 2025 06:58:05 -0500 (EST) |
branch: externals/denote
commit 4997e6b007e9c9beb30472d7111025ec97e8f286
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Rename denote-sequence-get-sequences-with-max-depth to include "all"
This is to keep it consistent with all the other similar functions.
---
denote-sequence.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index 575b094633..ca4c3fe5e3 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -336,7 +336,7 @@ With optional SEQUENCES operate on those, else use the
return value of
(string-prefix-p sequence string))
(or sequences (denote-sequence-get-all-sequences))))
-(defun denote-sequence-get-sequences-with-max-depth (depth &optional sequences)
+(defun denote-sequence-get-all-sequences-with-max-depth (depth &optional
sequences)
"Get sequences up to DEPTH (inclusive).
With optional SEQUENCES operate on those, else use the return value of
`denote-sequence-get-all-sequences'."
@@ -422,7 +422,7 @@ function `denote-sequence-get-all-sequences-with-prefix'."
(format "%s%s" (car all-unfiltered) start-child)
(if-let* ((all-schemeless (cond
((= (length all-unfiltered) 1)
all-unfiltered)
-
((denote-sequence-get-sequences-with-max-depth depth all-unfiltered))
+
((denote-sequence-get-all-sequences-with-max-depth depth all-unfiltered))
(t all-unfiltered)))
(all (denote-sequence-filter-scheme all-schemeless))
(largest (denote-sequence--get-largest all 'child)))
@@ -458,7 +458,7 @@ function `denote-sequence-get-all-sequences-with-prefix'."
(denote-sequence--get-prefix-for-siblings
sequence)
sequences)
(denote-sequence-get-all-sequences)))
- (all-schemeless (denote-sequence-get-sequences-with-max-depth
depth all-unfiltered))
+ (all-schemeless
(denote-sequence-get-all-sequences-with-max-depth depth all-unfiltered))
(all (denote-sequence-filter-scheme all-schemeless))
((member sequence all))
(largest (if children-p
- [elpa] externals/denote updated (913571e79e -> 4e62c3f2b6), ELPA Syncer, 2025/01/12
- [elpa] externals/denote 14dd0b5d2e 03/11: Make denote-sequence--get-new-child work with alphanumeric sequences, ELPA Syncer, 2025/01/12
- [elpa] externals/denote a0188e7cba 05/11: Expand tests to also cover alphanumeric child sequences, ELPA Syncer, 2025/01/12
- [elpa] externals/denote a4d3d62b26 10/11: Clarify how denote-sequence can be loaded, ELPA Syncer, 2025/01/12
- [elpa] externals/denote 182db0675e 06/11: Expand tests to also cover alphanumeric sibling sequences, ELPA Syncer, 2025/01/12
- [elpa] externals/denote 26f43c8aec 07/11: Make denote-sequence-alphanumeric-p require numeric prefix, ELPA Syncer, 2025/01/12
- [elpa] externals/denote 4997e6b007 02/11: Rename denote-sequence-get-sequences-with-max-depth to include "all",
ELPA Syncer <=
- [elpa] externals/denote b642758ff9 04/11: Ensure the sequence tests target the implied scheme, ELPA Syncer, 2025/01/12
- [elpa] externals/denote 6e9473cd4f 09/11: Merge branch 'alphanumeric-sequence-extension', ELPA Syncer, 2025/01/12
- [elpa] externals/denote 43bd30e6eb 01/11: Make the groundwork for alphanumeric (Luhmann) sequences in denote-sequence.el, ELPA Syncer, 2025/01/12
- [elpa] externals/denote a717f46eee 08/11: Make denote-sequence-convert also convert complete sequences, ELPA Syncer, 2025/01/12
- [elpa] externals/denote 4e62c3f2b6 11/11: Rewrite and expand the manual about denote-sequence.el, ELPA Syncer, 2025/01/12