mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
; Improve documentation of 'char-table-range'
* doc/lispref/sequences.texi (Char-Tables): * src/chartab.c (Fchar_table_range): Clarify what 'char-table-range' returns for an argument that is a cons cell.
This commit is contained in:
parent
a219ee8c31
commit
5cbe96d17f
@ -1645,7 +1645,8 @@ Refers to the element for character @var{char}
|
||||
|
||||
@item @code{(@var{from} . @var{to})}
|
||||
A cons cell refers to all the characters in the inclusive range
|
||||
@samp{[@var{from}..@var{to}]}.
|
||||
@samp{[@var{from}..@var{to}]}. In this case, the function returns the
|
||||
value for the character specified by @var{from}.
|
||||
@end table
|
||||
@end defun
|
||||
|
||||
|
@ -580,7 +580,8 @@ DEFUN ("char-table-range", Fchar_table_range, Schar_table_range,
|
||||
2, 2, 0,
|
||||
doc: /* Return the value in CHAR-TABLE for a range of characters RANGE.
|
||||
RANGE should be nil (for the default value),
|
||||
a cons of character codes (for characters in the range), or a character code. */)
|
||||
a cons of character codes (for characters in the range), or a character code.
|
||||
If RANGE is a cons (FROM . TO), the function returns the value for FROM. */)
|
||||
(Lisp_Object char_table, Lisp_Object range)
|
||||
{
|
||||
Lisp_Object val;
|
||||
|
Loading…
Reference in New Issue
Block a user