[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 99153fd064 2/3: Correct denote--format-front-mat
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 99153fd064 2/3: Correct denote--format-front-matter doc string |
Date: |
Mon, 5 Jun 2023 03:57:38 -0400 (EDT) |
branch: externals/denote
commit 99153fd06423ec5634a4d213501cd419ac723c34
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Correct denote--format-front-matter doc string
---
denote.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index b5ee58c658..237e7df3b6 100644
--- a/denote.el
+++ b/denote.el
@@ -1473,9 +1473,9 @@ Apply `downcase' to KEYWORDS."
(defun denote--format-front-matter (title date keywords id filetype)
"Front matter for new notes.
-TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which are
-provided by `denote'. FILETYPE is one of the values of
-`denote-file-type'."
+TITLE, DATE, and ID are all strings or functions that return a
+string. KEYWORDS is a list of strings. FILETYPE is one of the
+values of `denote-file-type'."
(let* ((fm (denote--front-matter filetype))
(title (denote--format-front-matter-title title filetype))
(kws (denote--format-front-matter-keywords keywords filetype)))