help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making new menu after Tools using keymap-set-after


From: Robert Pluim
Subject: Re: Making new menu after Tools using keymap-set-after
Date: Wed, 19 Jul 2023 11:10:22 +0200

>>>>> On Wed, 19 Jul 2023 08:08:32 +0000, uzibalqa <uzibalqa@proton.me> said:

    uzibalqa> (defvar mcp-kdf (make-sparse-keymap "MCP"))
    uzibalqa> (keymap-set-after global-map
    uzibalqa>    "<menu-bar> <mcp-topm>" (cons "MCP" mcp-kdf) 'tools)

    uzibalqa> complains about 'tools

Works for me in emacs-30, it gives me an 'MCP' menu just after
Tools. What error are you seeing?


Robert
-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]