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 /etc | |
| 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 'etc')
| -rw-r--r-- | etc/NEWS | 8 |
1 files changed, 0 insertions, 8 deletions
| @@ -538,14 +538,6 @@ file using `set-file-extended-attributes'. | |||
| 538 | ** `visited-file-modtime' now returns -1 for nonexistent files. | 538 | ** `visited-file-modtime' now returns -1 for nonexistent files. |
| 539 | Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous | 539 | Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous |
| 540 | in the presence of files with negative time stamps. | 540 | in the presence of files with negative time stamps. |
| 541 | |||
| 542 | ** Special forms with implied progn now check for proper lists. | ||
| 543 | Starting in Emacs 21.4, a special form with an implied progn of an | ||
| 544 | improper list ignored the trailing value, treating it as nil. For | ||
| 545 | example, (cond (t (message "hello") . "there")) ignored the "there". | ||
| 546 | This inadvertent change to Emacs's behavior has been reverted, and | ||
| 547 | Emacs now signals an error for these improper forms, as it did in | ||
| 548 | version 21.3 and earlier. | ||
| 549 | 541 | ||
| 550 | * Lisp Changes in Emacs 24.4 | 542 | * Lisp Changes in Emacs 24.4 |
| 551 | 543 | ||