summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-09-01 16:33:40 +0300
committerEli Zaretskii <eliz@gnu.org>2023-09-01 16:33:40 +0300
commit5cbe96d17f67e58091de1653f409d87bcc2b3e99 (patch)
tree630b5b7f7770643362edfdf361459d1a7327d5a7 /src
parenta219ee8c314506d4105d9767fe7332d3fd8525a5 (diff)
downloademacs-5cbe96d17f67e58091de1653f409d87bcc2b3e99.tar.gz
emacs-5cbe96d17f67e58091de1653f409d87bcc2b3e99.tar.bz2
emacs-5cbe96d17f67e58091de1653f409d87bcc2b3e99.zip
; 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.
Diffstat (limited to 'src')
-rw-r--r--src/chartab.c3
1 files changed, 2 insertions, 1 deletions
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;