diff options
| author | Richard M. Stallman | 2005-07-03 16:36:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-07-03 16:36:23 +0000 |
| commit | b68f60d70304d1720710efa10479f4e36d9c50d0 (patch) | |
| tree | 49b5bd20868486b9419ff717783845fc2655f290 | |
| parent | 44ee3feea6011db5cee7f8f8b239abaade0361d1 (diff) | |
| download | emacs-b68f60d70304d1720710efa10479f4e36d9c50d0.tar.gz emacs-b68f60d70304d1720710efa10479f4e36d9c50d0.zip | |
(Key Binding Commands): Call binding BINDING rather than DEFINITION.
| -rw-r--r-- | lispref/keymaps.texi | 16 |
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 | |||
| 1438 | construct the key sequence string using @code{multibyte-char-to-unibyte} | 1438 | construct the key sequence string using @code{multibyte-char-to-unibyte} |
| 1439 | or @code{string-make-unibyte} (@pxref{Converting Representations}). | 1439 | or @code{string-make-unibyte} (@pxref{Converting Representations}). |
| 1440 | 1440 | ||
| 1441 | @deffn Command global-set-key key definition | 1441 | @deffn Command global-set-key key binding |
| 1442 | This function sets the binding of @var{key} in the current global map | 1442 | This function sets the binding of @var{key} in the current global map |
| 1443 | to @var{definition}. | 1443 | to @var{binding}. |
| 1444 | 1444 | ||
| 1445 | @smallexample | 1445 | @smallexample |
| 1446 | @group | 1446 | @group |
| 1447 | (global-set-key @var{key} @var{definition}) | 1447 | (global-set-key @var{key} @var{binding}) |
| 1448 | @equiv{} | 1448 | @equiv{} |
| 1449 | (define-key (current-global-map) @var{key} @var{definition}) | 1449 | (define-key (current-global-map) @var{key} @var{binding}) |
| 1450 | @end group | 1450 | @end group |
| 1451 | @end smallexample | 1451 | @end smallexample |
| 1452 | @end deffn | 1452 | @end deffn |
| @@ -1482,15 +1482,15 @@ This function is implemented simply using @code{define-key}: | |||
| 1482 | @end smallexample | 1482 | @end smallexample |
| 1483 | @end deffn | 1483 | @end deffn |
| 1484 | 1484 | ||
| 1485 | @deffn Command local-set-key key definition | 1485 | @deffn Command local-set-key key binding |
| 1486 | This function sets the binding of @var{key} in the current local | 1486 | This function sets the binding of @var{key} in the current local |
| 1487 | keymap to @var{definition}. | 1487 | keymap to @var{binding}. |
| 1488 | 1488 | ||
| 1489 | @smallexample | 1489 | @smallexample |
| 1490 | @group | 1490 | @group |
| 1491 | (local-set-key @var{key} @var{definition}) | 1491 | (local-set-key @var{key} @var{binding}) |
| 1492 | @equiv{} | 1492 | @equiv{} |
| 1493 | (define-key (current-local-map) @var{key} @var{definition}) | 1493 | (define-key (current-local-map) @var{key} @var{binding}) |
| 1494 | @end group | 1494 | @end group |
| 1495 | @end smallexample | 1495 | @end smallexample |
| 1496 | @end deffn | 1496 | @end deffn |