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

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

Re: Binding key to command


From: Tassilo Horn
Subject: Re: Binding key to command
Date: Wed, 29 Jul 2009 20:52:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

Hi Rodolfo,

> I wish to use the key combinations `C-,' and `C-;' for a certain
> command, but Emacs does not seem to accept the expression
>
>  global-set-key "\C-,"
>
> What should I put instead of that in ~/.emacs?

(global-set-key (kbd "C-,") 'rodolfos-favourite-command)

Bye,
Tassilo





reply via email to

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