[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/eval.texi
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/eval.texi |
Date: |
Fri, 10 Feb 2006 00:09:19 +0000 |
Index: emacs/lispref/eval.texi
diff -u emacs/lispref/eval.texi:1.18 emacs/lispref/eval.texi:1.19
--- emacs/lispref/eval.texi:1.18 Mon Feb 6 11:55:09 2006
+++ emacs/lispref/eval.texi Fri Feb 10 00:09:18 2006
@@ -314,16 +314,20 @@
perform symbol function indirection explicitly.
@c Emacs 19 feature
address@hidden indirect-function function
address@hidden indirect-function function &optional noerror
@anchor{Definition of indirect-function}
This function returns the meaning of @var{function} as a function. If
@var{function} is a symbol, then it finds @var{function}'s function
definition and starts over with that value. If @var{function} is not a
symbol, then it returns @var{function} itself.
-This function signals a @code{void-function} error if the final
-symbol is unbound and a @code{cyclic-function-indirection} error if
-there is a loop in the chain of symbols.
+This function signals a @code{void-function} error if the final symbol
+is unbound and optional argument @var{noerror} is @code{nil} or
+omitted. Otherwise, if @var{noerror} is address@hidden, it returns
address@hidden if the final symbol is unbound.
+
+It signals a @code{cyclic-function-indirection} error if there is a
+loop in the chain of symbols.
Here is how you could define @code{indirect-function} in Lisp: