# HG changeset patch # User Richard M. Stallman # Date 1139776338 0 # Node ID a924d28d2d2511c83cc2bf2ce3bf0b180a41a640 # Parent 508732e39a9f6283e905b3fe4ddadd50ee952624 (substitute-key-definition): Doc fix. diff -r 508732e39a9f -r a924d28d2d25 lisp/subr.el --- a/lisp/subr.el Sun Feb 12 20:31:12 2006 +0000 +++ b/lisp/subr.el Sun Feb 12 20:32:18 2006 +0000 @@ -561,7 +561,8 @@ Alternatively, if optional fourth argument OLDMAP is specified, we redefine 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)" ;; 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