[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binding "<escape> <kp-delete>"
From: |
Stefan Monnier |
Subject: |
Re: binding "<escape> <kp-delete>" |
Date: |
Wed, 05 Jun 2013 20:46:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 3. suppose delete-word is the function I want to bind to:
> (global-set-key (kbd "<escape> <kp-delete>") 'delete-word)
I think you want
(global-set-key [?\e kp-delete] 'delete-word)
instead. IOW, the problem is not the "escape -> meta" mapping but the
"escape -> ESC" mapping.
Stefan