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: Drew Adams
Subject: RE: global-set-key C-next
Date: Thu, 9 Dec 2010 14:19:23 -0800

> 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.




reply via email to

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