Function: denote-template
denote-template is an autoloaded, interactive and byte-compiled
function defined in denote.el.
Signature
(denote-template)
Documentation
Create note while prompting for a template.
Available candidates include the keys in the denote-templates
alist. The value of the selected key is inserted in the newly
created note after the front matter.
This is the equivalent of calling denote when denote-prompts
has the template prompt appended to its existing prompts.
Key Bindings
Aliases
denote-create-note-with-template
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-template ()
"Create note while prompting for a template.
Available candidates include the keys in the `denote-templates'
alist. The value of the selected key is inserted in the newly
created note after the front matter.
This is the equivalent of calling `denote' when `denote-prompts'
has the `template' prompt appended to its existing prompts."
(declare (interactive-only t))
(interactive)
(let ((denote-prompts (denote-add-prompts '(template))))
(call-interactively #'denote)))