mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-05 08:53:45 +00:00
(substitute-key-definition): Mention command remapping in doc string.
This commit is contained in:
parent
5a484642e5
commit
18c2e79188
@ -383,7 +383,10 @@ but optional second arg NODIGITS non-nil treats them like other chars."
|
||||
"Replace OLDDEF with NEWDEF for any keys in KEYMAP now defined as OLDDEF.
|
||||
In other words, OLDDEF is replaced with NEWDEF where ever it appears.
|
||||
Alternatively, if optional fourth argument OLDMAP is specified, we redefine
|
||||
in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP."
|
||||
in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
|
||||
|
||||
For most uses, it is simpler and safer to use command remappping like this:
|
||||
\(define-key KEYMAP [remap OLDDEF] NEWDEF)"
|
||||
;; Don't document PREFIX in the doc string because we don't want to
|
||||
;; advertise it. It's meant for recursive calls only. Here's its
|
||||
;; meaning
|
||||
|
Loading…
Reference in New Issue
Block a user