From 5cbe96d17f67e58091de1653f409d87bcc2b3e99 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 1 Sep 2023 16:33:40 +0300 Subject: ; 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. --- src/chartab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/chartab.c b/src/chartab.c index 6f0bc28f31b..58bb1658504 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -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; -- cgit v1.2.3