mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
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>.
This commit is contained in:
parent
77371ac78a
commit
34103b2b3a
|
|
@ -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'"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue