mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
(substitute-key-definition): Doc fix.
This commit is contained in:
parent
ab6b3b1655
commit
fda11e854d
1 changed files with 2 additions and 1 deletions
|
|
@ -561,7 +561,8 @@ In other words, OLDDEF is replaced with NEWDEF where ever it appears.
|
||||||
Alternatively, if optional fourth argument OLDMAP is specified, we redefine
|
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 remapping like this:
|
If you don't specify OLDMAP, you can usually get the same results
|
||||||
|
in a cleaner way with command remapping, like this:
|
||||||
\(define-key KEYMAP [remap OLDDEF] NEWDEF)"
|
\(define-key KEYMAP [remap OLDDEF] NEWDEF)"
|
||||||
;; Don't document PREFIX in the doc string because we don't want to
|
;; 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
|
;; advertise it. It's meant for recursive calls only. Here's its
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue