branch: externals/denote commit 99153fd06423ec5634a4d213501cd419ac723c34 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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)))