[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[solved] Re: Binding key to command
From: |
Rodolfo Medina |
Subject: |
[solved] Re: Binding key to command |
Date: |
Wed, 29 Jul 2009 21:11:46 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux) |
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>> 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?
Tassilo Horn <tassilo@member.fsf.org> writes:
> (global-set-key (kbd "C-,") 'rodolfos-favourite-command)
Nathaniel Flath <flat0103@gmail.com> writes:
> Try (global-set-key (kbd "C-;) and (global-set-key (kbd "C-,")
Thanks! This seems to work fine
Rodolfo