[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you use a number as an argument to global-set-key?
From: |
thierry . volpiatto |
Subject: |
Re: How do you use a number as an argument to global-set-key? |
Date: |
Sun, 19 Apr 2009 19:31:10 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux) |
Hi, use kbd
formido <formido@gmail.com> writes:
> I want to use the numbers above the keyboard in 'global-set-key',
> e.g., have a command trigger with C-2. "\C-2" doesn't work. What does?
(global-set-key (kbd "C-2") 'your_command)
> Michael
>
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France