[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 6ad0d39: Update documentation of 'indirect-functi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 6ad0d39: Update documentation of 'indirect-function' |
Date: |
Sun, 10 Jan 2016 18:23:00 +0000 |
branch: emacs-25
commit 6ad0d39680cc82e660e3016b11c9f29d2666c79f
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Update documentation of 'indirect-function'
* doc/lispref/eval.texi (Function Indirection): Update the
documentation of 'indirect-function'.
---
doc/lispref/eval.texi | 11 +++++------
etc/NEWS | 2 ++
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index 28bf600..d2a8ff5 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -328,13 +328,12 @@ This function returns the meaning of @var{function} as a
function. If
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 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.
+This function returns @code{nil} if the final symbol is unbound. It
+signals a @code{cyclic-function-indirection} error if there is a loop
+in the chain of symbols.
-It signals a @code{cyclic-function-indirection} error if there is a
-loop in the chain of symbols.
+The optional argument @var{noerror} is obsolete, kept for backward
+compatibility, and has no effect.
Here is how you could define @code{indirect-function} in Lisp:
diff --git a/etc/NEWS b/etc/NEWS
index e6a3150..06cd38e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1202,10 +1202,12 @@ to the special value `dragging' in the body of the form.
has any effect. (This change was made in Emacs 24.4 but was not
advertised at the time.)
++++
** `indirect-function' does not signal `void-function' any more.
This is mostly a bug-fix, since this change was missed back in 24.4 when
symbol-function was changed not to signal `void-function' any more.
++++
*** As a consequence, the second arg of `indirect-function' is now obsolete.
** Comint, term, and compile do not set the EMACS env var any more.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 6ad0d39: Update documentation of 'indirect-function',
Eli Zaretskii <=