Re: Multiple keymaps for a minor mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Multiple keymaps for a minor mode

Stefan Monnier
> 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.


        Stefan