Variable: denote-get-identifier-function
denote-get-identifier-function is a variable defined in denote.el.
Value
denote-generate-identifier-as-date
Documentation
The function to generate an identifier as a non-empty string.
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.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(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. 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.")