(Char-Tables): Remove documentation of set-char-table-default, which has no

effect since Emacs 23.
<char-table-range, set-char-table-range>: Don't mention generic characters
and charsets.  Add a cons cell as a possible argument.
This commit is contained in:
Eli Zaretskii 2008-10-14 12:48:12 +00:00
parent 02e99324a2
commit 2724b26a3d
2 changed files with 16 additions and 22 deletions

View file

@ -1,5 +1,15 @@
2008-10-14 Eli Zaretskii <eliz@gnu.org>
* sequences.texi (Char-Tables): Remove documentation of
set-char-table-default, which has no effect since Emacs 23.
<char-table-range, set-char-table-range>: Don't mention generic
characters and charsets. Add a cons cell as a possible argument.
* nonascii.texi (Splitting Characters)
(Translation of Characters): Don't mention generic characters.
* display.texi (Fontsets): Don't mention generic characters.
* sequences.texi (Char-Tables): `map-char-table' can now call its
argument FUNCTION with a cons cell as KEY.

View file

@ -576,13 +576,8 @@ otherwise @code{nil}.
This function returns the subtype symbol of @var{char-table}.
@end defun
@defun set-char-table-default char-table char new-default
This function sets the default value of generic character @var{char}
in @var{char-table} to @var{new-default}.
There is no special function to access default values in a char-table.
To do that, use @code{char-table-range} (see below).
@end defun
@defun char-table-parent char-table
This function returns the parent of @var{char-table}. The parent is
@ -619,15 +614,9 @@ Refers to the default value.
Refers to the element for character @var{char}
(supposing @var{char} is a valid character code).
@item @var{charset}
Refers to the value specified for the whole character set
@var{charset} (@pxref{Character Sets}).
@item @var{generic-char}
A generic character stands for a character set, or a row of a
character set; specifying the generic character as argument is
equivalent to specifying the character set name. @xref{Splitting
Characters}, for a description of generic characters.
@item @code{(@var{from} . @var{to})}
A cons cell refers to all the characters in the inclusive range
@samp{[@var{from}..@var{to}]}.
@end table
@end defun
@ -646,14 +635,9 @@ Refers to the whole range of character codes.
Refers to the element for character @var{char}
(supposing @var{char} is a valid character code).
@item @var{charset}
Refers to the value specified for the whole character set
@var{charset} (@pxref{Character Sets}).
@item @var{generic-char}
A generic character stands for a character set; specifying the generic
character as argument is equivalent to specifying the character set
name. @xref{Splitting Characters}, for a description of generic characters.
@item @code{(@var{from} . @var{to})}
A cons cell refers to all the characters in the inclusive range
@samp{[@var{from}..@var{to}]}.
@end table
@end defun