emacs-devel
[Top][All Lists]
Advanced

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

Re: C-i and TAB


From: Stefan Monnier
Subject: Re: C-i and TAB
Date: Thu, 07 Feb 2013 13:19:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> (global-set-key (kbd "C-i") 'foo)
> (global-set-key (kbd "TAB") 'bar)

`kbd's syntax defines TAB as equivalent to C-i, so the above two
instructions bind the same key.

Try

(global-set-key [?\C-i] 'foo)
(global-set-key [tab] 'bar)


        Stefan



reply via email to

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