[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple keymaps for a minor mode
From: |
Michael Heerdegen |
Subject: |
Re: Multiple keymaps for a minor mode |
Date: |
Wed, 26 Feb 2020 13:05:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Tim Johnson <tim@akwebsoft.com> writes:
> (add-to-list 'emulation-mode-map-alists `((tj-minor-mode . ,tj-mode-map)))
> I wish to separate `tj-mode-map into a number of individual mode maps
> that are configured by category. [...]
An alternative to what already has been discussed could be to use
`make-composed-keymap' to combine the split maps to the minor mode map.
The result inherits changes of its parts.
Michael.