1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00
emacs/test
Daniel Colascione 12b1389c90 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.
2014-04-22 00:04:34 -07:00
..
automated Correctly macroexpand top-level forms during eager macroexpand 2014-04-22 00:04:34 -07:00
cedet Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
indent * lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization 2014-04-16 11:28:26 -04:00
ChangeLog Correctly macroexpand top-level forms during eager macroexpand 2014-04-22 00:04:34 -07:00
README
redisplay-testsuite.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
rmailmm.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00

This directory contains files intended to test various aspects of
Emacs's functionality.  Please help add tests!

(Also, see etc/compilation.txt for compilation mode font lock tests.)