# HG changeset patch # User Richard M. Stallman # Date 1120408583 0 # Node ID 12cb724692d37808115f8f5e229fe10774486853 # Parent c51c70065bb1981ef03ec30be1fe69e71a835fb2 (Key Binding Commands): Call binding BINDING rather than DEFINITION. diff -r c51c70065bb1 -r 12cb724692d3 lispref/keymaps.texi --- a/lispref/keymaps.texi Sun Jul 03 16:34:30 2005 +0000 +++ b/lispref/keymaps.texi Sun Jul 03 16:36:23 2005 +0000 @@ -1438,15 +1438,15 @@ 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 @@ @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