aboutsummaryrefslogtreecommitdiffstats
path: root/test/ChangeLog
diff options
context:
space:
mode:
authorDaniel Colascione2014-04-22 00:04:34 -0700
committerDaniel Colascione2014-04-22 00:04:34 -0700
commit12b1389c9039dd374951673ca43b1ddf65df400d (patch)
treef4d36afc9d1ccdd72f3d801b350d79d25dd5e8bb /test/ChangeLog
parentc98212f9e7cef496dded06eba4476033062c171f (diff)
downloademacs-12b1389c9039dd374951673ca43b1ddf65df400d.tar.gz
emacs-12b1389c9039dd374951673ca43b1ddf65df400d.zip
Correctly macroexpand top-level forms during eager macroexpand
* lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile): Improve docstrings. * lisp/emacs-lisp/macroexp.el (internal-macroexpand-for-load): Add `full-p' parameter; when nil, call `macroexpand' instead of `macroexpand-all'. * src/lread.c (readevalloop_eager_expand_eval): New function that can recurse into toplevel forms. (readevalloop): Call it. * src/lisp.h: Declare Qprogn. * src/callint.c (Qprogn): No longer static. * test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load): Add compile flag. (test-byte-comp-macro-expansion) (test-byte-comp-macro-expansion-eval-and-compile) (test-byte-comp-macro-expansion-eval-when-compile) (test-byte-comp-macro-expand-lexical-override): Use it. (test-eager-load-macro-expansion) (test-eager-load-macro-expansion-eval-and-compile) (test-eager-load-macro-expansion-eval-when-compile) (test-eager-load-macro-expand-lexical-override): New tests.
Diffstat (limited to 'test/ChangeLog')
-rw-r--r--test/ChangeLog14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 1163402fd19..1caf0b3eb85 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,7 +1,19 @@
12014-04-22 Daniel Colascione <dancol@dancol.org> 12014-04-22 Daniel Colascione <dancol@dancol.org>
2 2
3 * automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
4 Add compile flag.
5 (test-byte-comp-macro-expansion)
6 (test-byte-comp-macro-expansion-eval-and-compile)
7 (test-byte-comp-macro-expansion-eval-when-compile)
8 (test-byte-comp-macro-expand-lexical-override): Use it.
9 (test-eager-load-macro-expansion)
10 (test-eager-load-macro-expansion-eval-and-compile)
11 (test-eager-load-macro-expansion-eval-when-compile)
12 (test-eager-load-macro-expand-lexical-override): New tests.
13
3 * automated/cl-lib.el (cl-lib-struct-accessors): Fix test to 14 * automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
4 account for removal of `cl-struct-set-slot-value'. 15 account for removal of `cl-struct-set-slot-value'. Also, move
16 the defstruct to top level.
5 17
62014-04-21 Daniel Colascione <dancol@dancol.org> 182014-04-21 Daniel Colascione <dancol@dancol.org>
7 19