[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't bind "\C-=" and "\C-+" keys
From: |
Stefan Monnier <address@hidden> |
Subject: |
Re: Can't bind "\C-=" and "\C-+" keys |
Date: |
10 Oct 2002 10:06:36 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "d2002xx" == d2002xx <d2002xx@myrealbox.com> writes:
> When I bind the two keys by (global-set-key "\C-=" 'undo) and
> (global-set-key "\C-+" 'redo), Emacs says "Invalid modifiers in
> string".
C-= and C-+ are not characters, so you can't put them into a string.
Thus you need to use something like
(global-set-key [(control ?+)] 'redo)
-- Stefan