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

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

Re: Multiple keymaps for a minor mode


From: Tim Johnson
Subject: Re: Multiple keymaps for a minor mode
Date: Fri, 21 Feb 2020 09:22:51 -0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 2/21/20 7:16 AM, Stefan Monnier wrote:
Thanks for the reply Stefa, however I do not completely understand your last
comment which follows:
But you can simply your various keymaps to `emulation-mode-map-alists`
manually like you already do.

Could you elaborate?
Your code does:

     (add-to-list 'emulation-mode-map-alists `((tj-minor-mode . ,tj-mode-map)))

and you can add any number of var/keymap pairs in there.

Thank you

--
Tim
tj49.com




reply via email to

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