emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 7877d4c77c 8/9: Fix denote--migrate-type-files d


From: ELPA Syncer
Subject: [elpa] externals/denote 7877d4c77c 8/9: Fix denote--migrate-type-files detection of old keywords when only one tag
Date: Sat, 13 Aug 2022 03:57:30 -0400 (EDT)

branch: externals/denote
commit 7877d4c77c17ceccc5c12d66d911a259e3f5a614
Author: Abin Simon <mail@meain.io>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix denote--migrate-type-files detection of old keywords when only one tag
---
 denote.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index b376ee74eb..df6caac292 100644
--- a/denote.el
+++ b/denote.el
@@ -2268,7 +2268,10 @@ FILE-TYPE is the symbol file-type."
          (lambda (file)
            (when-let* ((value (denote--retrieve-value-keywords
                                file file-type))
-                       ((string-match-p "\s\s" value)))
+                       ((cond
+                         ((eq file-type 'markdown-yaml) (not (string-match-p 
"," value)))
+                         ((eq file-type 'org) (not (string-match-p ":" value)))
+                         (t nil))))
              file))
          (seq-remove
           (lambda (file)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]