diff options
| author | Richard M. Stallman | 2006-02-12 20:32:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-02-12 20:32:18 +0000 |
| commit | fda11e854d44ee2aff8b154ceb5bfe3dfee8769e (patch) | |
| tree | 2bd66898289932efdb2ea29a13d5fd3d9c756372 | |
| parent | ab6b3b16554446c48e0a188550087c5082910ff5 (diff) | |
| download | emacs-fda11e854d44ee2aff8b154ceb5bfe3dfee8769e.tar.gz emacs-fda11e854d44ee2aff8b154ceb5bfe3dfee8769e.zip | |
(substitute-key-definition): Doc fix.
| -rw-r--r-- | lisp/subr.el | 3 |
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. | |||
| 561 | Alternatively, if optional fourth argument OLDMAP is specified, we redefine | 561 | Alternatively, if optional fourth argument OLDMAP is specified, we redefine |
| 562 | in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP. | 562 | in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP. |
| 563 | 563 | ||
| 564 | For most uses, it is simpler and safer to use command remapping like this: | 564 | If you don't specify OLDMAP, you can usually get the same results |
| 565 | in 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 |