[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to genererate 'C-x @ c' from within a custom keymap
From: |
Stefan Monnier |
Subject: |
Re: how to genererate 'C-x @ c' from within a custom keymap |
Date: |
Fri, 22 Jul 2022 01:35:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> I have tried a couple of things without success.
> (define-key ik-launch-keymap "c" 'event-apply-control-modifier)
`event-apply-control-modifier` has to be used within a *remapping*
keymap, i.e. one of `input-decode-map`, `(local-)function-key-map`,
or `key-translation-map`.
Stefan