help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About NO-REMAP in `where-is-internal'


From: Andreas Politz
Subject: About NO-REMAP in `where-is-internal'
Date: Mon, 11 Feb 2013 05:38:08 +0100

> In (info "(elisp) Scanning Keymaps"):
>  -- Function: where-is-internal command &optional keymap firstonly
>           noindirect no-remap
> [...]
>      The fifth argument, NO-REMAP[...]

>     If a command OTHER-COMMAND is remapped to COMMAND: [...]

>     If COMMAND is remapped to OTHER-COMMAND: [...]

> I'm confused about the COMMAND and the OTHER-COMMAND.  What's the
> differences of them?

Assume there is some binding

(define-key keymap [remap OTHER-COMMAND] 'COMMAND) .

The text describes the different behaviour, in case of

(where-is-internal 'OTHER-COMMAND keymap nil nil no-remap) or
(where-is-internal 'COMMAND keymap nil nil no-remap) .

-AP



reply via email to

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