branch: externals/denote
commit 34103b2b3adee873ee9646ef7a5b875c46adf495
Author: Lucas Quintana <lm...@protonmail.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make sure 'denote--menu-contents' has a string as its first element
    
    This fixes the bug where 'denote-context-menu' would completely
    disable the 'context-menu-mode', as reported by artelse in issue 592:
    <https://github.com/protesilaos/denote/issues/592>.
---
 denote.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 7bdcc58f4c..01f9813971 100644
--- a/denote.el
+++ b/denote.el
@@ -6080,7 +6080,8 @@ This command is meant to be used from a Dired buffer."
 ;;;; Define menu
 
 (defvar denote--menu-contents
-  '(["Create a note" denote
+  '("Denote"
+    ["Create a note" denote
      :help "Create a new note in the `denote-directory'"]
     ["Create a note with given file type" denote-type
      :help "Create a new note with a given file type in the 
`denote-directory'"]

Reply via email to