Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Emacs Lisp]Example of x-popup-menu
(easy-menu-define testmenu nil "Test Menu" '(("Hello") ("abc") ("def")))
(windowp
(get-buffer-window "*Messages*"))
(x-popup-menu `((0 0) ,(get-buffer-window "*Messages*")) testmenu)
(x-popup-menu `((0 0) ,(get-buffer-window)) testmenu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.