aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2013-07-24 07:21:07 +0100
committerPaul Eggert2013-07-24 07:21:07 +0100
commit53840e556ef5b78e05ec2f948b7742e38821d9e5 (patch)
treea7bb7ce94837b2f954bbd81c4566076d66ecefdc /doc
parent249eea30ee8201fe9b872cf2c110aa546479b0e4 (diff)
downloademacs-53840e556ef5b78e05ec2f948b7742e38821d9e5.tar.gz
emacs-53840e556ef5b78e05ec2f948b7742e38821d9e5.zip
* src/eval.c (Fprogn): Do not check that BODY is a proper list.
This undoes the previous change. The check slows down the interpreter, and is not needed to prevent a crash. See <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00693.html>. * doc/lispref/eval.texi (Special Forms): Mention 'lambda'. Also, say that non-well-formed expressions result in unspecified behavior, though Emacs will not crash.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/eval.texi11
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 342c7c57175..08ec4c2fef8 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12013-07-24 Paul Eggert <eggert@cs.ucla.edu>
2
3 * eval.texi (Special Forms): Mention 'lambda'. Also, say that
4 non-well-formed expressions result in unspecified behavior, though
5 Emacs will not crash.
6
12013-07-22 Michael Albinus <michael.albinus@gmx.de> 72013-07-22 Michael Albinus <michael.albinus@gmx.de>
2 8
3 * files.texi (Magic File Names): Add file-notify-add-watch, 9 * files.texi (Magic File Names): Add file-notify-add-watch,
diff --git a/doc/lispref/eval.texi b/doc/lispref/eval.texi
index 4b5ef187383..4b83d575fef 100644
--- a/doc/lispref/eval.texi
+++ b/doc/lispref/eval.texi
@@ -432,6 +432,14 @@ do.
432and which are used without evaluation. Whether a particular argument is 432and which are used without evaluation. Whether a particular argument is
433evaluated may depend on the results of evaluating other arguments. 433evaluated may depend on the results of evaluating other arguments.
434 434
435 If an expression's first symbol is that of a special form, the
436expression should follow the rules of that special form; otherwise,
437Emacs's behavior is not well-defined (though it will not crash). For
438example, @code{((lambda (x) x . 3) 4)} contains a subexpression that
439begins with @code{lambda} but is not a well-formed @code{lambda}
440expression, so Emacs may signal an error, or may return 3 or 4 or
441@code{nil}, or may behave in other ways.
442
435 Here is a list, in alphabetical order, of all of the special forms in 443 Here is a list, in alphabetical order, of all of the special forms in
436Emacs Lisp with a reference to where each is described. 444Emacs Lisp with a reference to where each is described.
437 445
@@ -463,6 +471,9 @@ Emacs Lisp with a reference to where each is described.
463@item interactive 471@item interactive
464@pxref{Interactive Call} 472@pxref{Interactive Call}
465 473
474@item lambda
475@pxref{Lambda Expressions}
476
466@item let 477@item let
467@itemx let* 478@itemx let*
468@pxref{Local Variables} 479@pxref{Local Variables}