aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog1
-rw-r--r--doc/lispref/nonascii.texi17
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 96118a3afe9..952c2953a60 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -4,6 +4,7 @@
4 paragraph to speak about `undecided'. 4 paragraph to speak about `undecided'.
5 (Character Properties): Don't explain the meaning of each 5 (Character Properties): Don't explain the meaning of each
6 property; instead, identify their Unicode Standard names. 6 property; instead, identify their Unicode Standard names.
7 (Character Sets): Document `map-charset-chars'.
7 8
82008-12-02 Glenn Morris <rgm@gnu.org> 92008-12-02 Glenn Morris <rgm@gnu.org>
9 10
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 131b27d030e..28b1cf508db 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -628,6 +628,23 @@ that fits the second argument of @code{decode-char} above. If
628@code{nil}. 628@code{nil}.
629@end defun 629@end defun
630 630
631 The following function comes in handy for applying a certain
632function to all or part of the characters in a charset:
633
634@defun map-charset-chars function charset &optional arg from to
635Call @var{function} for characters in @var{charset}. @var{function}
636is called with two arguments. The first one is a cons cell
637@code{(@var{from} . @var{to})}, where @var{from} and @var{to}
638indicate a range of characters contained in charset. The second
639argument is the optional argument @var{arg}.
640
641By default, the range of codepoints passed to @var{function} includes
642all the characters in @var{charset}, but optional arguments @var{from}
643and @var{to} limit that to the range of characters between these two
644codepoints. If either of them is @code{nil}, it defaults to the first
645or last codepoint of @var{charset}, respectively.
646@end defun
647
631@node Scanning Charsets 648@node Scanning Charsets
632@section Scanning for Character Sets 649@section Scanning for Character Sets
633 650