diff options
| -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 |