[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lookup the key-bindings of a function
From: |
Tassilo Horn |
Subject: |
Re: Lookup the key-bindings of a function |
Date: |
Mon, 06 Oct 2008 14:44:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Nordlöw <per.nordlow@gmail.com> writes:
Hi!
> Forgot to tell you all: How do I do this programmatically?
(where-is-internal 'org-agenda) ;; <== C-x C-e
==> ([3 111 97]) ;; which is `C-c o a'
If you want the key as string `kbd' would accept, use:
(mapcar 'key-description (where-is-internal 'org-agenda))
==> ("C-c o a")
Bye,
Tassilo