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

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

[elpa] externals/denote b2ddfc0d3a 02/17: Rename denote--date to denote-


From: ELPA Syncer
Subject: [elpa] externals/denote b2ddfc0d3a 02/17: Rename denote--date to denote--format-front-matter-date
Date: Sun, 10 Nov 2024 00:57:50 -0500 (EST)

branch: externals/denote
commit b2ddfc0d3ab9ebc80bb33b8e7a80baff9d8abdc0
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Rename denote--date to denote--format-front-matter-date
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index da75be53fc..f581334d8e 100644
--- a/denote.el
+++ b/denote.el
@@ -1841,7 +1841,7 @@ is a list of strings.  FILETYPE is one of the values of 
variable
 `denote-file-type'."
   (let* ((fm (denote--front-matter filetype))
          (title-string (funcall (denote--title-value-function filetype) title))
-         (date-string (denote--date date filetype))
+         (date-string (denote--format-front-matter-date date filetype))
          (keywords-string (funcall (denote--keywords-value-function filetype) 
(denote-sluggify-keywords keywords)))
          (id-string (funcall (denote--identifier-value-function filetype) id))
          (signature-string (funcall (denote--signature-value-function 
filetype) (denote-sluggify-signature signature))))
@@ -2144,7 +2144,7 @@ which case it is not added to the base file name."
   "Format DATE according to ISO 8601 standard."
   (format-time-string "%F" date))
 
-(defun denote--date (date file-type)
+(defun denote--format-front-matter-date (date file-type)
   "Expand DATE in an appropriate format for FILE-TYPE."
   (let ((format denote-date-format))
     (cond



reply via email to

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