From: Eli Zaretskii Date: Wed, 26 Sep 2001 19:55:41 +0000 (+0000) Subject: (Creating Keymaps): Fix the description of the result of make-keymap. X-Git-Tag: emacs-21.1~145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=974548ec2c9217aba601ba91257366e934925932;p=emacs.git (Creating Keymaps): Fix the description of the result of make-keymap. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index f0750e58bef..1999397ebab 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2001-09-26 Eli Zaretskii + + * keymaps.texi (Creating Keymaps): Fix the description of the + result of make-keymap. + 2001-09-23 Eli Zaretskii * display.texi (Font Lookup, Attribute Functions) diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index 3adc85ece63..1877527dd90 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi @@ -219,10 +219,13 @@ otherwise. More precisely, this function tests for a list whose @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 @@ the keymap. The prompt string should be provided for menu keymaps @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