diff options
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 |