[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: where-is-internal question
From: |
Drew Adams |
Subject: |
RE: where-is-internal question |
Date: |
Wed, 7 Sep 2005 09:03:44 -0700 |
> (dolist (key (where-is-internal 'self-insert-command
> global-map))
> (define-key my-map key 'my-command)))
Also the above dolist is advantageously replaced by a call to
substitute-key-definition
Of course! I've used substitute-key-definition a lot, but I forgot about its
optional OLDMAP arg. Thanks.
BTW, I wonder about the decision to not mention the PREFIX arg in the doc
string of substitute-key-definition. It is visible anyway, when you do C-h
f. I think it would be clearer to explicitly mention it, saying that it is
for internal use only, or that it is for recursive calls only. That is,
describe it, but tell people not to use it.
- where-is-internal question, Drew Adams, 2005/09/06
- Re: where-is-internal question, Kim F. Storm, 2005/09/07
- Re: where-is-internal question, Stefan Monnier, 2005/09/07
- RE: where-is-internal question, Drew Adams, 2005/09/07
- RE: where-is-internal question, Drew Adams, 2005/09/07
- Re: where-is-internal question, Stefan Monnier, 2005/09/07
- RE: where-is-internal question, Drew Adams, 2005/09/07
- Re: where-is-internal question, Richard M. Stallman, 2005/09/08