branch: externals/denote
commit 51cbb47311578c92edae5bd92fdeb715ff55cf35
Author: Matthew Batson <[email protected]>
Commit: Matthew Batson <[email protected]>
Add denote-link-or-create-with-command to the menu bar
The code in this commit was originally written by Protesilaos Stavrou
in commit 69391aa.
---
denote.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/denote.el b/denote.el
index eee379398f..811a18aaf7 100644
--- a/denote.el
+++ b/denote.el
@@ -6780,6 +6780,9 @@ This command is meant to be used from a Dired buffer."
["Link to existing note or newly created one" denote-link-or-create
:help "Insert a link to an existing file, else create it and link to it"
:enable (derived-mode-p 'text-mode)]
+ ["Link to existing note or newly created one with the chosen command"
denote-link-or-create-with-command
+ :help "Insert a link to an existing file, else create it with the given
command and link to it"
+ :enable (derived-mode-p 'text-mode)]
["Create note in the background and link to it directly"
denote-link-after-creating
:help "Create new note and link to it from the current file"
:enable (derived-mode-p 'text-mode)]