Mercurial > emacs
changeset 39469:a585fe0f948f
(Creating Keymaps): Fix the description of the result of make-keymap.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 26 Sep 2001 19:54:42 +0000 |
parents | 641a8b1d652c |
children | 3411e4da792d |
files | lispref/keymaps.texi |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/keymaps.texi Wed Sep 26 19:44:26 2001 +0000 +++ b/lispref/keymaps.texi Wed Sep 26 19:54:42 2001 +0000 @@ -219,10 +219,13 @@ @c ??? This should come after make-sparse-keymap @defun make-keymap &optional prompt -This function creates and returns a new full keymap (i.e., one -containing a vector of length 128 for defining all the @sc{ascii} -characters). The new keymap initially binds all @sc{ascii} characters -to @code{nil}, and does not bind any other kind of event. +This function creates and returns a new full keymap. That keymap +contains a char-table (@pxref{Char-Tables}) with 384 slots: the first +128 slots are for defining all the @sc{ascii} characters, the next 128 +slots are for 8-bit European characters, and each one of the final 128 +slots is for one character set of non-@sc{ascii} characters supported by +Emacs. The new keymap initially binds all these characters to +@code{nil}, and does not bind any other kind of event. @example @group @@ -238,8 +241,9 @@ @defun make-sparse-keymap &optional prompt This function creates and returns a new sparse keymap with no entries. -The new keymap does not bind any events. The argument @var{prompt} -specifies a prompt string, as in @code{make-keymap}. +The new keymap does not contain a char-table, unlike @code{make-keymap}, +and does not bind any events. The argument @var{prompt} specifies a +prompt string, as in @code{make-keymap}. @example @group