branch: externals/denote-sequence commit a3d79ce3edba079072cadd4061a02e2bb1484fc9 Merge: 307eb52c21 f4bfb697f2 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: GitHub <nore...@github.com>
Merge pull request #8 from pprevos/main Fixed detection of all-parents --- denote-sequence.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-sequence.el b/denote-sequence.el index 8ce3c3314c..d6e627bcd7 100644 --- a/denote-sequence.el +++ b/denote-sequence.el @@ -711,7 +711,7 @@ returned by `denote-sequence-get-all-files'." (pcase type ('all-parents (let ((parents nil) (butlast (butlast components))) - (while (>= (length butlast) 1) + (while (> (length butlast) 1) (when-let* ((prefix (denote-sequence-join butlast scheme)) (parent (seq-find (lambda (file)