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

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

[elpa] externals/denote 4dc13f44e5 05/17: Refactor denote--migrate-type-


From: ELPA Syncer
Subject: [elpa] externals/denote 4dc13f44e5 05/17: Refactor denote--migrate-type-files and use denote--retrieve-keywords-line
Date: Mon, 15 Aug 2022 01:57:34 -0400 (EDT)

branch: externals/denote
commit 4dc13f44e5fae00d0ee6b4b8d78c7ac3fbbcee10
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Refactor denote--migrate-type-files and use denote--retrieve-keywords-line
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index a3ecb59493..8a3bfe87c1 100644
--- a/denote.el
+++ b/denote.el
@@ -2386,11 +2386,11 @@ FILE-TYPE is the symbol file-type."
   (delq nil
         (mapcar
          (lambda (file)
-           (when-let* ((value (denote--retrieve-value-keywords
+           (when-let* ((value (denote--retrieve-keywords-line
                                file file-type))
                        ((cond
                          ((eq file-type 'markdown-yaml) (not (string-match-p 
"," value)))
-                         ((eq file-type 'org) (not (string-match-p ":" value)))
+                         ((eq file-type 'org) (not (string-match-p " :" 
value)))
                          (t nil))))
              file))
          (seq-remove



reply via email to

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