aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-02-12 20:32:18 +0000
committerRichard M. Stallman2006-02-12 20:32:18 +0000
commitfda11e854d44ee2aff8b154ceb5bfe3dfee8769e (patch)
tree2bd66898289932efdb2ea29a13d5fd3d9c756372
parentab6b3b16554446c48e0a188550087c5082910ff5 (diff)
downloademacs-fda11e854d44ee2aff8b154ceb5bfe3dfee8769e.tar.gz
emacs-fda11e854d44ee2aff8b154ceb5bfe3dfee8769e.zip
(substitute-key-definition): Doc fix.
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 9f6ad65bb4c..298a1d7c92f 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -561,7 +561,8 @@ In other words, OLDDEF is replaced with NEWDEF where ever it appears.
561Alternatively, if optional fourth argument OLDMAP is specified, we redefine 561Alternatively, if optional fourth argument OLDMAP is specified, we redefine
562in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP. 562in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP.
563 563
564For most uses, it is simpler and safer to use command remapping like this: 564If you don't specify OLDMAP, you can usually get the same results
565in a cleaner way with command remapping, like this:
565 \(define-key KEYMAP [remap OLDDEF] NEWDEF)" 566 \(define-key KEYMAP [remap OLDDEF] NEWDEF)"
566 ;; Don't document PREFIX in the doc string because we don't want to 567 ;; Don't document PREFIX in the doc string because we don't want to
567 ;; advertise it. It's meant for recursive calls only. Here's its 568 ;; advertise it. It's meant for recursive calls only. Here's its