|
From: | Johan Bockgård |
Subject: | Re: keyboard-translate working for Control but not for Alt |
Date: | Tue, 04 Aug 2009 20:36:53 +0200 |
User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
Elena <egarrulo@gmail.com> writes: > Out of curiosity, I tried to swap M-x and M-t as well: > > (keyboard-translate ?\M-x ?\M-t) > (keyboard-translate ?\M-t ?\M-x) > > but evaluating each expression fail with (numbers are not the same): keyboard-translate only works for characters. You can use (define-key key-translation-map [?\M-x] [?\M-t]) (define-key key-translation-map [?\M-t] [?\M-x])
[Prev in Thread] | Current Thread | [Next in Thread] |