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

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

Re: global-set-key C-next


From: Philip Ganchev
Subject: Re: global-set-key C-next
Date: Thu, 9 Dec 2010 18:41:30 -0500

On Thu, Dec 9, 2010 at 5:19 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> I want to bind the key Control+PageDown. I tried
>> (global-set-key (kbd "C-next") bury-buffer)
>> (global-set-key (kbd "C-<next>") bury-buffer)
>> but those don't work. How can I describe the key?
>
> (global-set-key (kbd "C-<next>") 'bury-buffer) or
> (global-set-key [(control next)] 'bury-buffer)
>
> You forgot a quote.

Thanks. Although I forgot a quote in my post to the list, I had the
quote in my .emacs file. It tried with both expressions and it does
not work. When I press Ctrl+PageDown, "5~" is inserted (without the
quotes).



reply via email to

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