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

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

[elpa] externals/denote 11be1d6b40 123/355: Change "tml" to "toml" in de


From: ELPA Syncer
Subject: [elpa] externals/denote 11be1d6b40 123/355: Change "tml" to "toml" in denote-toml-front-matter
Date: Sun, 26 Jun 2022 23:58:12 -0400 (EDT)

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

    Change "tml" to "toml" in denote-toml-front-matter
    
    Thanks to Kaushal Modi for spotting the typo:
    
<https://github.com/protesilaos/denote/commit/73dc07ac00b5f0688a4baed4152961e025e28755#r75861972>.
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index f857115027..ef5868e126 100644
--- a/denote.el
+++ b/denote.el
@@ -376,7 +376,7 @@ treatment)."
         ('toml (format "[%S]" (downcase kw)))
         (_ (downcase kw)))))))
 
-(defvar denote-tml-front-matter
+(defvar denote-toml-front-matter
   "+++
 title      = %S
 date       = %s
@@ -431,7 +431,7 @@ TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which 
are
   (let ((kw-space (denote--file-meta-keywords keywords))
         (kw-toml (denote--file-meta-keywords keywords 'toml)))
     (pcase denote-file-type
-      ('markdown-toml (format denote-tml-front-matter title date kw-toml id))
+      ('markdown-toml (format denote-toml-front-matter title date kw-toml id))
       ('markdown-yaml (format denote-yaml-front-matter title date kw-space id))
       ('text (format denote-text-front-matter title date kw-space id 
denote-text-front-matter-delimiter))
       (_ (format denote-org-front-matter title date kw-space id)))))



reply via email to

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