-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/08/12 13:48, Bastien wrote:
> Rainer M Krug <r.m.k...@gmail.com> writes:
> 
>> Following an earlier discussion, I would like to bind 
>> org-babel-remove-result to a key in
>> org-mode to C-c x - but what is the best way to do this?
> 
> Once Org is loaded (so that `org-mode-map' is defined):
> 
> (define-key org-mode-map "\C-cx-" 'org-babel-remove-result)

OK - this defines the key Cc-x to execute org-babel-remove-result for the 
org-mode keymap - nice.

I am now using

(define-key org-mode-map "\C-cx" 'org-babel-remove-result)


> 
> HTH,

most definitely,

Thanks,

Rainer

> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlA3bCIACgkQoYgNqgF2egoxtgCfTXlcJDNKatPT413MGJgKLWS2
oRQAn0mwu/USWX1I9q3ta9HdX5AW6VUB
=Uuji
-----END PGP SIGNATURE-----

Reply via email to