Mercurial > emacs
changeset 68830:a924d28d2d25
(substitute-key-definition): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 12 Feb 2006 20:32:18 +0000 |
parents | 508732e39a9f |
children | d0dc470bb9db |
files | lisp/subr.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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