[Top][All Lists]

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

Re: Multiple keymaps for a minor mode

From: Stefan Monnier
Subject: Re: Multiple keymaps for a minor mode
Date: Fri, 21 Feb 2020 11:16:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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


reply via email to

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