[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

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.

reply via email to

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