[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ca88b5a86a 2/6: Make another ancillary function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ca88b5a86a 2/6: Make another ancillary function public |
Date: |
Sun, 28 Aug 2022 00:57:29 -0400 (EDT) |
branch: externals/denote
commit ca88b5a86a3e16a2d9699fbcf420faf7bfe7165a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make another ancillary function public
Missed it in commit ebd88bc.
---
denote.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/denote.el b/denote.el
index d4f9f28259..abfa7fbbef 100644
--- a/denote.el
+++ b/denote.el
@@ -620,8 +620,9 @@ identifier: %s
\n"
"Org front matter.")
-(defun denote--surround-with-quotes (s)
- "Surround string S with quotes."
+(defun denote-surround-with-quotes (s)
+ "Surround string S with quotes.
+This can be used in `denote-file-types' to format front mattter."
(format "%S" s))
(defun denote-trim-whitespace (s)
@@ -679,7 +680,7 @@ Consult the `denote-file-types' for how this is used."
:extension ".md"
:front-matter ,denote-yaml-front-matter
:title-key-regexp "^title\\s-*:"
- :title-value-function denote--surround-with-quotes
+ :title-value-function denote-surround-with-quotes
:title-value-reverse-function denote-trim-whitespace-then-quotes
:keywords-key-regexp "^tags\\s-*:"
:keywords-value-function denote-format-keywords-for-md-front-matter
@@ -688,7 +689,7 @@ Consult the `denote-file-types' for how this is used."
:extension ".md"
:front-matter ,denote-toml-front-matter
:title-key-regexp "^title\\s-*="
- :title-value-function denote--surround-with-quotes
+ :title-value-function denote-surround-with-quotes
:title-value-reverse-function denote-trim-whitespace-then-quotes
:keywords-key-regexp "^tags\\s-*="
:keywords-value-function denote-format-keywords-for-md-front-matter
- [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 <=
- [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, 2022/08/28