/[emacs]/emacs/lispref/keymaps.texi
ViewVC logotype

Diff of /emacs/lispref/keymaps.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.65 by rms, Tue Jun 28 18:51:02 2005 UTC revision 1.66 by rms, Sun Jul 3 16:36:23 2005 UTC
# Line 1438  input.  One way to do this is by using a Line 1438  input.  One way to do this is by using a
1438  construct the key sequence string using @code{multibyte-char-to-unibyte}  construct the key sequence string using @code{multibyte-char-to-unibyte}
1439  or @code{string-make-unibyte} (@pxref{Converting Representations}).  or @code{string-make-unibyte} (@pxref{Converting Representations}).
1440    
1441  @deffn Command global-set-key key definition  @deffn Command global-set-key key binding
1442  This function sets the binding of @var{key} in the current global map  This function sets the binding of @var{key} in the current global map
1443  to @var{definition}.  to @var{binding}.
1444    
1445  @smallexample  @smallexample
1446  @group  @group
1447  (global-set-key @var{key} @var{definition})  (global-set-key @var{key} @var{binding})
1448  @equiv{}  @equiv{}
1449  (define-key (current-global-map) @var{key} @var{definition})  (define-key (current-global-map) @var{key} @var{binding})
1450  @end group  @end group
1451  @end smallexample  @end smallexample
1452  @end deffn  @end deffn
# Line 1482  This function is implemented simply usin Line 1482  This function is implemented simply usin
1482  @end smallexample  @end smallexample
1483  @end deffn  @end deffn
1484    
1485  @deffn Command local-set-key key definition  @deffn Command local-set-key key binding
1486  This function sets the binding of @var{key} in the current local  This function sets the binding of @var{key} in the current local
1487  keymap to @var{definition}.  keymap to @var{binding}.
1488    
1489  @smallexample  @smallexample
1490  @group  @group
1491  (local-set-key @var{key} @var{definition})  (local-set-key @var{key} @var{binding})
1492  @equiv{}  @equiv{}
1493  (define-key (current-local-map) @var{key} @var{definition})  (define-key (current-local-map) @var{key} @var{binding})
1494  @end group  @end group
1495  @end smallexample  @end smallexample
1496  @end deffn  @end deffn

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26