[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/keymaps.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/keymaps.texi |
Date: |
Sun, 03 Jul 2005 12:36:23 -0400 |
Index: emacs/lispref/keymaps.texi
diff -c emacs/lispref/keymaps.texi:1.65 emacs/lispref/keymaps.texi:1.66
*** emacs/lispref/keymaps.texi:1.65 Tue Jun 28 18:51:02 2005
--- emacs/lispref/keymaps.texi Sun Jul 3 16:36:23 2005
***************
*** 1438,1452 ****
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
This function sets the binding of @var{key} in the current global map
! to @var{definition}.
@smallexample
@group
! (global-set-key @var{key} @var{definition})
@equiv{}
! (define-key (current-global-map) @var{key} @var{definition})
@end group
@end smallexample
@end deffn
--- 1438,1452 ----
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 binding
This function sets the binding of @var{key} in the current global map
! to @var{binding}.
@smallexample
@group
! (global-set-key @var{key} @var{binding})
@equiv{}
! (define-key (current-global-map) @var{key} @var{binding})
@end group
@end smallexample
@end deffn
***************
*** 1482,1496 ****
@end smallexample
@end deffn
! @deffn Command local-set-key key definition
This function sets the binding of @var{key} in the current local
! keymap to @var{definition}.
@smallexample
@group
! (local-set-key @var{key} @var{definition})
@equiv{}
! (define-key (current-local-map) @var{key} @var{definition})
@end group
@end smallexample
@end deffn
--- 1482,1496 ----
@end smallexample
@end deffn
! @deffn Command local-set-key key binding
This function sets the binding of @var{key} in the current local
! keymap to @var{binding}.
@smallexample
@group
! (local-set-key @var{key} @var{binding})
@equiv{}
! (define-key (current-local-map) @var{key} @var{binding})
@end group
@end smallexample
@end deffn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/keymaps.texi,
Richard M . Stallman <=