diff options
| author | Stefan Monnier | 2011-03-21 12:42:16 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-03-21 12:42:16 -0400 |
| commit | cafdcef32d55cbb44389d7e322e7f973cbb72dfd (patch) | |
| tree | 7ee0c41ea8a589650ce6f4311fb10e61a63807b9 /doc/lispref/keymaps.texi | |
| parent | a08a25d7aaf251aa18f2ef747be53734bc55cae9 (diff) | |
| parent | 4e05e67e4cd0bc1b0a4ef3176a4d0d91c6b3738e (diff) | |
| download | emacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.tar.gz emacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.zip | |
Merge from trunk
Diffstat (limited to 'doc/lispref/keymaps.texi')
| -rw-r--r-- | doc/lispref/keymaps.texi | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index af24ff5aa43..2648c22ca01 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -1705,15 +1705,11 @@ or | |||
| 1705 | 1705 | ||
| 1706 | @noindent | 1706 | @noindent |
| 1707 | and your language environment is multibyte Latin-1, these commands | 1707 | and your language environment is multibyte Latin-1, these commands |
| 1708 | actually bind the multibyte character with code 2294, not the unibyte | 1708 | actually bind the multibyte character with code 246, not the byte |
| 1709 | Latin-1 character with code 246 (@kbd{M-v}). In order to use this | 1709 | code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this |
| 1710 | binding, you need to enter the multibyte Latin-1 character as keyboard | 1710 | binding, you need to teach Emacs how to decode the keyboard by using an |
| 1711 | input. One way to do this is by using an appropriate input method | 1711 | appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU |
| 1712 | (@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). | 1712 | Emacs Manual}). |
| 1713 | |||
| 1714 | If you want to use a unibyte character in the key binding, you can | ||
| 1715 | construct the key sequence string using @code{multibyte-char-to-unibyte} | ||
| 1716 | or @code{string-make-unibyte} (@pxref{Converting Representations}). | ||
| 1717 | 1713 | ||
| 1718 | @deffn Command global-set-key key binding | 1714 | @deffn Command global-set-key key binding |
| 1719 | This function sets the binding of @var{key} in the current global map | 1715 | This function sets the binding of @var{key} in the current global map |