diff options
| author | Paul Eggert | 2013-07-24 07:21:07 +0100 |
|---|---|---|
| committer | Paul Eggert | 2013-07-24 07:21:07 +0100 |
| commit | 53840e556ef5b78e05ec2f948b7742e38821d9e5 (patch) | |
| tree | a7bb7ce94837b2f954bbd81c4566076d66ecefdc /src/eval.c | |
| parent | 249eea30ee8201fe9b872cf2c110aa546479b0e4 (diff) | |
| download | emacs-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 'src/eval.c')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c index e6ccf0bdcb5..6cb2b7a92b8 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -454,12 +454,6 @@ usage: (progn BODY...) */) | |||
| 454 | body = XCDR (body); | 454 | body = XCDR (body); |
| 455 | } | 455 | } |
| 456 | 456 | ||
| 457 | if (!NILP (body)) | ||
| 458 | { | ||
| 459 | /* This can happen if functions like Fcond are the caller. */ | ||
| 460 | wrong_type_argument (Qlistp, body); | ||
| 461 | } | ||
| 462 | |||
| 463 | UNGCPRO; | 457 | UNGCPRO; |
| 464 | return val; | 458 | return val; |
| 465 | } | 459 | } |