summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-09-26 19:55:41 +0000
committerEli Zaretskii <eliz@gnu.org>2001-09-26 19:55:41 +0000
commit974548ec2c9217aba601ba91257366e934925932 (patch)
tree4019b0f0ab33b01a0bedd2ff3c5a73c31c5839dd /lispref
parent1ebfc51b1750880332d60d311de42801f57ffe14 (diff)
downloademacs-974548ec2c9217aba601ba91257366e934925932.tar.gz
(Creating Keymaps): Fix the description of the result of make-keymap.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/keymaps.texi16
2 files changed, 15 insertions, 6 deletions
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 <eliz@is.elta.co.il>
+
+ * keymaps.texi (Creating Keymaps): Fix the description of the
+ result of make-keymap.
+
2001-09-23 Eli Zaretskii <eliz@is.elta.co.il>
* 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