* lisp/subr.el (with-eval-after-load): New macro.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 13 Jun 2013 22:24:52 +0000 (18:24 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 13 Jun 2013 22:24:52 +0000 (18:24 -0400)
commitde0503df97a507a523a192e877a8d5c7439c4846
tree0753a678f85a7ea1a2eb46b81067e8a5d6dfc1e0
parentbc5c8c5a6a1956122284468879862b1850dc3b5d
* lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.
doc/lispref/ChangeLog
doc/lispref/loading.texi
etc/NEWS
lisp/ChangeLog
lisp/simple.el
lisp/subr.el
src/ChangeLog
src/fns.c
src/lread.c