Mercurial > hg > xemacs-beta
comparison lisp/ChangeLog @ 5265:5663ae9a8989
Warn at compile time, error at runtime, with (quote X Y), (function X Y).
lisp/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp.el (byte-compile-function-form, byte-compile-quote)
(byte-compile-quote-form):
Warn at compile time, and error at runtime, if a (quote ...) or a
(function ...) form attempts to quote more than one object.
src/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* eval.c (Ffunction, Fquote):
Add argument information in the arguments: () format for these two
special operators.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Thu, 16 Sep 2010 14:10:44 +0100 |
| parents | 0d43872986b6 |
| children | f9ec07abdbf9 |
comparison
equal
deleted
inserted
replaced
| 5264:0d43872986b6 | 5265:5663ae9a8989 |
|---|---|
| 1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> | |
| 2 | |
| 3 * bytecomp.el (byte-compile-function-form, byte-compile-quote) | |
| 4 (byte-compile-quote-form): | |
| 5 Warn at compile time, and error at runtime, if a (quote ...) or a | |
| 6 (function ...) form attempts to quote more than one object. | |
| 7 | |
| 1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> | 8 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> |
| 2 | 9 |
| 3 * byte-optimize.el (byte-optimize-apply): Transform (apply 'nconc | 10 * byte-optimize.el (byte-optimize-apply): Transform (apply 'nconc |
| 4 (mapcar ...)) to (mapcan ...); warn about use of the first idiom. | 11 (mapcar ...)) to (mapcan ...); warn about use of the first idiom. |
| 5 | 12 |
