comparison lispref/functions.texi @ 56215:c9aa4127a482

Reposition @anchor's.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 23 Jun 2004 16:40:04 +0000
parents 6879bf941d0f
children 88341b374ad0 59dcbfe97385
comparison
equal deleted inserted replaced
56214:169058aadeda 56215:c9aa4127a482
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual. 2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2004
4 @c Free Software Foundation, Inc. 4 @c Free Software Foundation, Inc.
5 @c See the file elisp.texi for copying conditions. 5 @c See the file elisp.texi for copying conditions.
6 @setfilename ../info/functions 6 @setfilename ../info/functions
7 @node Functions, Macros, Variables, Top 7 @node Functions, Macros, Variables, Top
8 @chapter Functions 8 @chapter Functions
575 without any hesitation or notification. Redefining a function already 575 without any hesitation or notification. Redefining a function already
576 defined is often done deliberately, and there is no way to distinguish 576 defined is often done deliberately, and there is no way to distinguish
577 deliberate redefinition from unintentional redefinition. 577 deliberate redefinition from unintentional redefinition.
578 @end defspec 578 @end defspec
579 579
580 @defun defalias name definition &optional docstring
580 @anchor{Definition of defalias} 581 @anchor{Definition of defalias}
581 @defun defalias name definition &optional docstring
582 This special form defines the symbol @var{name} as a function, with 582 This special form defines the symbol @var{name} as a function, with
583 definition @var{definition} (which can be any valid Lisp function). 583 definition @var{definition} (which can be any valid Lisp function).
584 It returns @var{definition}. 584 It returns @var{definition}.
585 585
586 If @var{docstring} is non-@code{nil}, it becomes the function 586 If @var{docstring} is non-@code{nil}, it becomes the function
750 These mapping functions do not allow char-tables because a char-table 750 These mapping functions do not allow char-tables because a char-table
751 is a sparse array whose nominal range of indices is very large. To map 751 is a sparse array whose nominal range of indices is very large. To map
752 over a char-table in a way that deals properly with its sparse nature, 752 over a char-table in a way that deals properly with its sparse nature,
753 use the function @code{map-char-table} (@pxref{Char-Tables}). 753 use the function @code{map-char-table} (@pxref{Char-Tables}).
754 754
755 @defun mapcar function sequence
755 @anchor{Definition of mapcar} 756 @anchor{Definition of mapcar}
756 @defun mapcar function sequence
757 @code{mapcar} applies @var{function} to each element of @var{sequence} 757 @code{mapcar} applies @var{function} to each element of @var{sequence}
758 in turn, and returns a list of the results. 758 in turn, and returns a list of the results.
759 759
760 The argument @var{sequence} can be any kind of sequence except a 760 The argument @var{sequence} can be any kind of sequence except a
761 char-table; that is, a list, a vector, a bool-vector, or a string. The 761 char-table; that is, a list, a vector, a bool-vector, or a string. The