1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

(Creating Keymaps): Fix the description of the result of make-keymap.

This commit is contained in:
Eli Zaretskii 2001-09-26 19:55:41 +00:00
parent 1ebfc51b17
commit 974548ec2c
2 changed files with 15 additions and 6 deletions

View File

@ -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)

View File

@ -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