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

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

[elpa] externals/denote 77d65716fd 1/2: Add conditionality in keyword to


From: ELPA Syncer
Subject: [elpa] externals/denote 77d65716fd 1/2: Add conditionality in keyword to list conversion
Date: Wed, 10 Aug 2022 05:57:30 -0400 (EDT)

branch: externals/denote
commit 77d65716fdcf7013a4e41c391879465e27905fba
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add conditionality in keyword to list conversion
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 88d9be3545..68b20b1da8 100644
--- a/denote.el
+++ b/denote.el
@@ -687,7 +687,7 @@ Apply `downcase' to KEYWORDS."
 (defun denote--front-matter-keywords-to-list (file)
   "Return keywords from front matter of FILE as list of strings.
 This is the reverse operation of `denote--format-front-matter-keywords'."
-  (let ((keywords (denote--retrieve-value-keywords file)))
+  (when-let ((keywords (denote--retrieve-value-keywords file)))
     (split-string keywords "[:,\s]+" t "[][ \"']+")))
 
 ;; TODO 2022-08-10: These are `defvar' and not `defcustom' because



reply via email to

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