Function: denote-open-or-create-with-command
denote-open-or-create-with-command is an autoloaded, interactive and
byte-compiled function defined in denote.el.
Signature
(denote-open-or-create-with-command)
Documentation
Like denote-open-or-create but use one of the denote-commands-for-new-notes.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-open-or-create-with-command ()
"Like `denote-open-or-create' but use one of the `denote-commands-for-new-notes'."
(declare (interactive-only t))
(interactive)
(let ((target (denote-file-prompt nil "Select file (RET on no match to create it)" :no-require-match)))
(if (and target (file-exists-p target))
(find-file target)
(denote--command-with-features (denote-command-prompt) :use-file-prompt-as-def-title nil nil nil))))