branch: externals/denote
commit 9885bc6a08c93753eca8b6f49b68b56cfb8cf232
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make small rewording to the docs of denote-get-identifier-function
---
 README.org | 16 ++++++++--------
 denote.el  | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/README.org b/README.org
index 6f566656f9..20ae7500c1 100644
--- a/README.org
+++ b/README.org
@@ -5255,14 +5255,14 @@ there will be no corresponding prompt.
 #+vindex: denote-get-identifier-function
 + Variable ~denote-get-identifier-function~ :: The function to
   generate an identifier as a non-empty string. The function takes two
-  arguments: an initial identifier and a date. Both can be nil. The
-  initial identifier is used as a reference to derive a unique variant
-  of it, if possible (e.g. to keep incrementing seconds while keeping
-  the rest of the date+time the same). Existing identifiers are stored
-  in the variable ~denote-used-identifiers~. If the initial identifier
-  is nil or an identifier cannot be derived from it, then the date can
-  be used instead. The date has the same format as ~current-time~.
-  When it is nil, the ~current-time~ is used. [ Part of 
{{{development-version}}}. ]
+  arguments: an initial identifier and a date. The initial identifier
+  is used as a reference to derive a unique variant of it, if possible
+  (e.g. to keep incrementing seconds while keeping the rest of the
+  date+time the same). Existing identifiers are stored in the variable
+  ~denote-used-identifiers~. If the initial identifier is nil or an
+  identifier cannot be derived from it, then the date can be used
+  instead. The date has the same format as ~current-time~. When it is
+  nil, the ~current-time~ is used. [ Part of {{{development-version}}}. ]
 
 #+findex: denote-get-path-by-id
 + Function ~denote-get-path-by-id~ :: Return absolute path of =ID=
diff --git a/denote.el b/denote.el
index f2955275ba..a415bd8092 100644
--- a/denote.el
+++ b/denote.el
@@ -3133,14 +3133,14 @@ and the template prompt will be skipped.")
 (defvar denote-get-identifier-function #'denote-generate-identifier-as-date
   "The function to generate an identifier as a non-empty string.
 
-The function takes two arguments: an initial identifier and a date.
-Both can be nil.  The initial identifier is used as a reference to
-derive a unique variant of it (e.g. to keep incrementing seconds while
-keeping the rest of the date+time the same).  Existing identifiers are
-stored in the variable `denote-used-identifiers'.  If the initial
-identifier is nil or an identifier cannot be derived from it, then the
-date can be used instead.  The date has the same format as
-`current-time'.  When it is nil, the `current-time' is used.")
+The function takes two arguments: an initial identifier and a date.  The
+initial identifier is used as a reference to derive a unique variant of
+it (e.g. to keep incrementing seconds while keeping the rest of the
+date+time the same).  Existing identifiers are stored in the variable
+`denote-used-identifiers'.  If the initial identifier is nil or an
+identifier cannot be derived from it, then the date can be used instead.
+The date has the same format as `current-time'.  When it is nil, the
+`current-time' is used.")
 
 (defun denote--creation-get-note-data-from-prompts ()
   "Retrieve the data necessary for note creation.

Reply via email to