Mercurial > hg > xemacs-beta
comparison lisp/ChangeLog @ 5568:b039c0f018b8
Error if byte-compiling a form hasn't wrapped byte-compile-inbuffer.
lisp/ChangeLog addition:
2011-09-09 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp.el (byte-compile-from-buffer):
If compiling a form has changed the current buffer (that is, some
eval-when-compile form hasn't done save-excursion when
appropriate), error and exit; we can't guarantee we'll give useful
code in that context. See
http://mid.gmane.org/20110909110831.GD2875@acm.acm and related
discussion.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Fri, 09 Sep 2011 22:50:31 +0100 |
| parents | 3bc58dc9d688 |
| children | d19b6e3bdf91 |
comparison
equal
deleted
inserted
replaced
| 5567:3bc58dc9d688 | 5568:b039c0f018b8 |
|---|---|
| 1 2011-09-09 Aidan Kehoe <kehoea@parhasard.net> | |
| 2 | |
| 3 * bytecomp.el (byte-compile-from-buffer): | |
| 4 If compiling a form has changed the current buffer (that is, some | |
| 5 eval-when-compile form hasn't done save-excursion when | |
| 6 appropriate), error and exit; we can't guarantee we'll give useful | |
| 7 code in that context. See | |
| 8 http://mid.gmane.org/20110909110831.GD2875@acm.acm and related | |
| 9 discussion. | |
| 10 | |
| 1 2011-09-07 Aidan Kehoe <kehoea@parhasard.net> | 11 2011-09-07 Aidan Kehoe <kehoea@parhasard.net> |
| 2 | 12 |
| 3 * simple.el (transpose-subr): | 13 * simple.el (transpose-subr): |
| 4 * specifier.el (let-specifier): | 14 * specifier.el (let-specifier): |
| 5 * specifier.el (derive-device-type-from-tag-set): | 15 * specifier.el (derive-device-type-from-tag-set): |
