[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 399ad5e9f1 4/6: Clarify that KEYWORDS arg is a l
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 399ad5e9f1 4/6: Clarify that KEYWORDS arg is a list of strings |
Date: |
Sun, 28 Aug 2022 00:57:30 -0400 (EDT) |
branch: externals/denote
commit 399ad5e9f16510029e274661cf43fd7794d29e87
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Clarify that KEYWORDS arg is a list of strings
---
denote.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/denote.el b/denote.el
index bf7f12dbbe..ab0293e24e 100644
--- a/denote.el
+++ b/denote.el
@@ -643,16 +643,22 @@ This can be used in `denote-file-types' to format front
mattter."
(defun denote-format-keywords-for-md-front-matter (keywords)
"Format front matter KEYWORDS for markdown file type.
+KEYWORDS is a list of strings.
+
Consult the `denote-file-types' for how this is used."
(format "[%s]" (mapconcat (lambda (k) (format "%S" k)) keywords ", ")))
(defun denote-format-keywords-for-text-front-matter (keywords)
"Format front matter KEYWORDS for text file type.
+KEYWORDS is a list of strings.
+
Consult the `denote-file-types' for how this is used."
(string-join keywords " "))
(defun denote-format-keywords-for-org-front-matter (keywords)
"Format front matter KEYWORDS for org file type.
+KEYWORDS is a list of strings.
+
Consult the `denote-file-types' for how this is used."
(if keywords
(format ":%s:" (string-join keywords ":"))
- [elpa] externals/denote updated (ebd88bc271 -> f5b45f5f10), ELPA Syncer, 2022/08/28
- [elpa] externals/denote 651c985c81 5/6: Make minor correction to doc string, ELPA Syncer, 2022/08/28
- [elpa] externals/denote ca88b5a86a 2/6: Make another ancillary function public, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 53f71dd406 3/6: Expand denote-file-types doc string, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 1b2ab658fc 1/6: Let denote-file-type accept explicit 'org' symbol, ELPA Syncer, 2022/08/28
- [elpa] externals/denote f5b45f5f10 6/6: Add TODO for denote-file-types, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 399ad5e9f1 4/6: Clarify that KEYWORDS arg is a list of strings,
ELPA Syncer <=