summaryrefslogtreecommitdiff
path: root/lispref/keymaps.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-07-03 16:36:23 +0000
committerRichard M. Stallman <rms@gnu.org>2005-07-03 16:36:23 +0000
commitf1277fdc5ec34679715526d32df4f53a9f16b949 (patch)
treee431e74741f3f02dee6812bf427556939550c603 /lispref/keymaps.texi
parent36f4c41b9f7916d751dbc396a515d89bdcd547f6 (diff)
downloademacs-f1277fdc5ec34679715526d32df4f53a9f16b949.tar.gz
(Key Binding Commands): Call binding BINDING rather than DEFINITION.
Diffstat (limited to 'lispref/keymaps.texi')
-rw-r--r--lispref/keymaps.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index 519f9bc1fbf..895ca48109b 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -1438,15 +1438,15 @@ input. One way to do this is by using an appropriate input method
construct the key sequence string using @code{multibyte-char-to-unibyte}
or @code{string-make-unibyte} (@pxref{Converting Representations}).
-@deffn Command global-set-key key definition
+@deffn Command global-set-key key binding
This function sets the binding of @var{key} in the current global map
-to @var{definition}.
+to @var{binding}.
@smallexample
@group
-(global-set-key @var{key} @var{definition})
+(global-set-key @var{key} @var{binding})
@equiv{}
-(define-key (current-global-map) @var{key} @var{definition})
+(define-key (current-global-map) @var{key} @var{binding})
@end group
@end smallexample
@end deffn
@@ -1482,15 +1482,15 @@ This function is implemented simply using @code{define-key}:
@end smallexample
@end deffn
-@deffn Command local-set-key key definition
+@deffn Command local-set-key key binding
This function sets the binding of @var{key} in the current local
-keymap to @var{definition}.
+keymap to @var{binding}.
@smallexample
@group
-(local-set-key @var{key} @var{definition})
+(local-set-key @var{key} @var{binding})
@equiv{}
-(define-key (current-local-map) @var{key} @var{definition})
+(define-key (current-local-map) @var{key} @var{binding})
@end group
@end smallexample
@end deffn