bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#8350: 24.0.50; wrong bindings for remapped keys


From: Stefan Monnier
Subject: bug#8350: 24.0.50; wrong bindings for remapped keys
Date: Sun, 27 Mar 2011 17:19:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> (define-key ctl-x-map [remap forward-char] 'backward-char)
[...] 
> (command-remapping 'forward-char nil (list ctl-x-map))
>   => backward-char
 
But ctl-x-map is never used as one of the active maps, it's always
limited to being a prefix map bound to C-x, so the define-key above will
have pretty much no effect.


        Stefan





reply via email to

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