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

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

[elpa] externals/denote 5e21143e22 10/17: Update docstring of denote-for


From: ELPA Syncer
Subject: [elpa] externals/denote 5e21143e22 10/17: Update docstring of denote-format-file-name
Date: Sun, 10 Nov 2024 00:57:52 -0500 (EST)

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

    Update docstring of denote-format-file-name
---
 README.org | 5 +++--
 denote.el  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 34ddc9d132..a4b9740dda 100644
--- a/README.org
+++ b/README.org
@@ -5718,8 +5718,9 @@ might change them without further notice.
   the case when returning the value of the variable ~denote-directory~).
   =DIR-PATH= cannot be nil or an empty string.
 
-  =ID= is a string holding the identifier of the note. It cannot be
-  nil or an empty string and must match ~denote-id-regexp~.
+  =ID= is a string holding the identifier of the note. It can be an
+  empty string, in which case its respective file name component is
+  not added to the base file name.
 
   =DIR-PATH= and =ID= form the base file name.
 
diff --git a/denote.el b/denote.el
index cb44058a16..2d65e1761a 100644
--- a/denote.el
+++ b/denote.el
@@ -2061,8 +2061,9 @@ forward slash (the function `denote-directory' makes sure 
this is
 the case when returning the value of the variable `denote-directory').
 DIR-PATH cannot be nil or an empty string.
 
-ID is a string holding the identifier of the note.  It cannot be
-nil or an empty string and must match `denote-id-regexp'.
+ID is a string holding the identifier of the note.  It can be an
+empty string, in which case its respective file name component is
+not added to the base file name.
 
 DIR-PATH and ID form the base file name.
 



reply via email to

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