]> code.delx.au - gnu-emacs/blobdiff - lispref/functions.texi
(Sets And Lists): Fix typos.
[gnu-emacs] / lispref / functions.texi
index bc05a1d388d0abe210ef7c97771e46c4eb913559..a4c0b4b8fe4b57d18714632cbbdb93603c9b9a2e 100644 (file)
@@ -99,7 +99,7 @@ Keyboard macros (strings and vectors) are commands also, even though
 they are not functions.  A symbol is a command if its function
 definition is a command; such symbols can be invoked with @kbd{M-x}.
 The symbol is a function as well if the definition is a function.
-@xref{Command Overview}.
+@xref{Interactive Call}.
 
 @item keystroke command
 @cindex keystroke command
@@ -152,7 +152,6 @@ function.  For example:
 @end defun
 
 @defun subr-arity subr
-@tindex subr-arity
 This function provides information about the argument list of a
 primitive, @var{subr}.  The returned value is a pair
 @code{(@var{min} . @var{max})}.  @var{min} is the minimum number of
@@ -486,7 +485,7 @@ more convenient than making the function definition point to itself
 practice).
 
   We often identify functions with the symbols used to name them.  For
-example, we often speak of ``the function @code{car}'', not
+example, we often speak of ``the function @code{car},'' not
 distinguishing between the symbol @code{car} and the primitive
 subr-object that is its function definition.  For most purposes, the
 distinction is not important.
@@ -767,12 +766,10 @@ in turn, and returns a list of the results.
 The argument @var{sequence} can be any kind of sequence except a
 char-table; that is, a list, a vector, a bool-vector, or a string.  The
 result is always a list.  The length of the result is the same as the
-length of @var{sequence}.
+length of @var{sequence}.  For example:
 
 @smallexample
 @group
-@exdent @r{For example:}
-
 (mapcar 'car '((a b) (c d) (e f)))
      @result{} (a c e)
 (mapcar '1+ [1 2 3])
@@ -807,7 +804,6 @@ Return the list of results."
 @end defun
 
 @defun mapc function sequence
-@tindex mapc
 @code{mapc} is like @code{mapcar} except that @var{function} is used for
 side-effects only---the values it returns are ignored, not collected
 into a list.  @code{mapc} always returns @var{sequence}.
@@ -848,7 +844,7 @@ bool-vector, or a string.
 
   In Lisp, a function is a list that starts with @code{lambda}, a
 byte-code function compiled from such a list, or alternatively a
-primitive subr-object; names are ``extra''.  Although usually functions
+primitive subr-object; names are ``extra.''  Although usually functions
 are defined with @code{defun} and given names at the same time, it is
 occasionally more concise to use an explicit lambda expression---an
 anonymous function.  Such a list is valid wherever a function name is.