]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/lispref/functions.texi (Mapping Functions): Fix wording (bug#78930).
authorEli Zaretskii <eliz@gnu.org>
Mon, 30 Jun 2025 19:06:15 +0000 (22:06 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:09:57 +0000 (22:09 +0200)
(cherry picked from commit de18407f513ccd7adbd521d0422dd1fb552b5935)

doc/lispref/functions.texi

index 90ca17240548065db2f12a6120bf3014107b91b2..41fbfc246c7df3dc06fddf6c9d404915897d106c 100644 (file)
@@ -1030,15 +1030,16 @@ the @code{call-interactively} function.  @xref{Interactive Call}.
 @cindex mapping functions
 
   A @dfn{mapping function} applies a given function (@emph{not} a
-special form or macro) to each element of a list or other collection.
+special form or macro) to each element of a sequence, such as a list or
+a vector or a string (@pxref{Sequences Arrays Vectors}).
 Emacs Lisp has several such functions; this section describes
 @code{mapcar}, @code{mapc}, @code{mapconcat}, and @code{mapcan}, which
-map over a list.  @xref{Definition of mapatoms}, for the function
+map over sequences.  @xref{Definition of mapatoms}, for the function
 @code{mapatoms} which maps over the symbols in an obarray.
 @xref{Definition of maphash}, for the function @code{maphash} which
 maps over key/value associations in a hash table.
 
-  These mapping functions do not allow char-tables because a char-table
+  These mapping functions do not work on char-tables because a char-table
 is a sparse array whose nominal range of indices is very large.  To map
 over a char-table in a way that deals properly with its sparse nature,
 use the function @code{map-char-table} (@pxref{Char-Tables}).