Skip to content

Access the data of the latest note

The variable denote-current-data is updated each time a new note is created as well as after a rename operation.

This is an alist where each car is one among title, keywords, signature, directory, date, id, file-type, template. The value each of them contains is the unprocessed input (e.g. the title before it is sluggified).

Users who need to access this data as part of their custom code can rely on the hooks denote-after-new-note-hook and denote-after-rename-file-hook.