emacs/lisp/emacs-lisp
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
..
advice.el * lisp/emacs-lisp/advice.el (ad-add-advice, defadvice): Doc fix 2014-03-10 14:16:13 -04:00
authors.el Move iswitchb.el to obsolete/ 2014-02-06 19:22:34 -08:00
autoload.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
avl-tree.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
backquote.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
benchmark.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
bindat.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
byte-opt.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
byte-run.el Correctly macroexpand top-level forms during eager macroexpand 2014-04-22 00:04:34 -07:00
bytecomp.el Minor bytecomp.el fixes 2014-04-21 23:51:30 -07:00
cconv.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
chart.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
check-declare.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
checkdoc.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
cl-extra.el lisp/emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code. 2014-03-20 19:16:47 +01:00
cl-indent.el Tweak regex from last change 2014-04-09 08:33:43 -07:00
cl-lib.el * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. 2014-04-21 23:18:15 -04:00
cl-macs.el Optimize cl-struct-slot-value; fix test 2014-04-21 20:51:12 -07:00
cl-seq.el * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. 2014-04-21 23:18:15 -04:00
cl.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
copyright.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
crm.el Some crm.el doc 2014-02-26 23:42:57 -08:00
debug.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
derived.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
disass.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
easy-mmode.el * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec. 2014-02-24 11:55:17 +08:00
easymenu.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
edebug.el * lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec. 2014-02-25 16:55:45 -05:00
eieio-base.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
eieio-core.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
eieio-custom.el Restore generated autoloads in eieio.el. 2014-01-09 21:31:21 +01:00
eieio-datadebug.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
eieio-opt.el * eieio-opt.el (eieio-help-generic): Fix last change. 2014-01-29 23:13:00 -05:00
eieio-speedbar.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
eieio.el lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998). 2014-03-12 16:02:45 +01:00
eldoc.el * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor 2014-03-31 09:31:17 +08:00
elint.el * lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp. 2014-01-06 18:34:05 -05:00
elp.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
ert-x.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ert.el * lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' the 2014-02-26 04:02:21 +02:00
ewoc.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
find-func.el * lisp/help-fns.el (help-C-file-name): Handle advised functions. 2014-02-01 21:25:05 -05:00
find-gc.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
float-sup.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
generic.el Spelling fixes. 2014-01-11 21:29:11 -08:00
gv.el lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist. 2014-02-21 20:01:19 +01:00
helper.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
lisp-mnt.el * lisp/emacs-lisp/lisp-mnt.el: Comments. 2014-02-10 00:36:27 -08:00
lisp-mode.el * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add 2014-04-05 10:33:36 +08:00
lisp.el Make up-list and backward-up-list get out of more spots 2014-04-09 09:58:08 -07:00
macroexp.el Correctly macroexpand top-level forms during eager macroexpand 2014-04-22 00:04:34 -07:00
map-ynp.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
nadvice.el * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find 2014-03-20 12:00:17 -04:00
package-x.el lisp/emacs-lisp/package-x.el: Follow-up to change in package.el. 2014-03-27 01:20:50 +01:00
package.el * lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version of 2014-03-28 18:47:46 -04:00
pcase.el * lisp/emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member): 2014-01-02 23:40:30 -05:00
pp.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
re-builder.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
regexp-opt.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
regi.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ring.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
rx.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
shadow.el * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals. 2014-03-05 21:01:02 -05:00
smie.el Small smie.el doc and fix 2014-03-04 00:35:11 -08:00
subr-x.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
syntax.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
tabulated-list.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
tcover-ses.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
tcover-unsafep.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
testcover.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
timer.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
tq.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
trace.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
unsafep.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
warnings.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00