Function: denote-context-menu
denote-context-menu is a byte-compiled function defined in denote.el.
Signature
(denote-context-menu MENU CLICK)
Documentation
Populate MENU with Denote commands at CLICK.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-context-menu (menu _click)
"Populate MENU with Denote commands at CLICK."
(define-key menu [denote-separator] menu-bar-separator)
(let ((easy-menu (make-sparse-keymap "Denote")))
(easy-menu-define nil easy-menu nil
denote--menu-contents)
(dolist (item (reverse (lookup-key easy-menu [menu-bar])))
(when (consp item)
(define-key menu (vector (car item)) (cdr item)))))
menu)