[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Menu and Submenus in functions
From: |
uzibalqa |
Subject: |
Menu and Submenus in functions |
Date: |
Sat, 15 Jul 2023 20:55:13 +0000 |
I am making a menu with the following calls
;; Make top menu gundit
(define-key-after global-map
[menu-bar mcp-menu]
(cons "MCP" (make-sparse-keymap "MCP")) 'tools)
;; Make submenu daphne
(define-key global-map
[menu-bar mcp-menu daphne-subm]
(cons "Daphne" (make-sparse-keymap "daphne")))
;; Make submenu latex
(define-key global-map
[menu-bar mcp-menu latex-subm]
(cons "Latex" (make-sparse-keymap "latex")))
Can I make an elisp function to make such menu ?
Would also like that the submenu definitions are
again defined in specific functions.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Menu and Submenus in functions,
uzibalqa <=