LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Making parent menu in emacs (https://www.linuxquestions.org/questions/linux-software-2/making-parent-menu-in-emacs-4175717889/)

Faki 10-18-2022 02:32 PM

Making parent menu in emacs
 
Am trying to make a parent menu in emacs. Have traversed the "Emacs Lisp Reference" to "23.17 Menu Keymaps" with an example in "23.17.4 Menu Example".

But cannot get the parent menu to show up.

This is how I make the parent menu "xepty-menu".

Code:

(define-key global-map [xepty-menu words]
  (cons "Xepty" (make-sparse-keymap "Xepty")))


masinick 10-18-2022 06:04 PM

Do the examples in the link below help at all?

https://stackoverflow.com/questions/...f-parent-modes

Faki 10-20-2022 01:16 AM

I think the link is about a different topic.


All times are GMT -5. The time now is 08:52 AM.