[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: copy key binding to another key WITHOUT knowing the function behind
From: |
Ian Zimmerman |
Subject: |
Re: copy key binding to another key WITHOUT knowing the function behind it. |
Date: |
12 Dec 2003 07:28:24 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
leo> is there a way to say "key1's binding should be bound to key2"?
Please ignore my previous post which doesn't answer your question.
You could do this:
(let ((k my-keymap))
(define-key k key2 (lookup-key k key1)))
--
Nothing can be explained to a stone.
Or to a stoned person, either.