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

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

Re: C-x right


From: Daniel Pittman
Subject: Re: C-x right
Date: Wed, 26 Dec 2007 00:26:23 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

Nikola Skoric <nick-news@net4u.hr> writes:

> I'd like to bind C-x right to bury-buffer. I just can't find manual
> section which describes who to do that. I've tried:
> (global-set-key [\C-x right] 'bury-buffer)
> (global-set-key [C-x right] 'bury-buffer)
> (global-set-key "\C-x<right>" 'bury-buffer)
> but nothing works. I figured out how to bind normal keys, but I just
> can't figure out arrows...

  (global-set-key [(control x)(right)] #'bury-buffer)
  (define-key ctl-x-map [(right)] #'bury-buffer)

Regards,
        Daniel
-- 
Daniel Pittman <daniel@cybersource.com.au>           Phone: 03 9428 6922
1/130-132 Stawell St, Richmond              Web: http://www.cyber.com.au
Cybersource: Australia's Leading Linux and Open Source Solutions Company





reply via email to

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