aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2013-06-13 18:24:52 -0400
committerStefan Monnier2013-06-13 18:24:52 -0400
commitde0503df97a507a523a192e877a8d5c7439c4846 (patch)
tree0753a678f85a7ea1a2eb46b81067e8a5d6dfc1e0 /etc
parentbc5c8c5a6a1956122284468879862b1850dc3b5d (diff)
downloademacs-de0503df97a507a523a192e877a8d5c7439c4846.tar.gz
emacs-de0503df97a507a523a192e877a8d5c7439c4846.zip
* 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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 44e4ada50cf..0501b4e97e2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -452,8 +452,9 @@ file using `set-file-extended-attributes'.
452 452
453* Lisp Changes in Emacs 24.4 453* Lisp Changes in Emacs 24.4
454 454
455FIXME - someone who knows what they are talking about, please improve 455+++
456this - see http://debbugs.gnu.org/14596 456** New macro with-eval-after-load. Like eval-after-load, but better behaved.
457
457** The default file coding for Emacs Lisp files is now utf-8. 458** The default file coding for Emacs Lisp files is now utf-8.
458(See file-coding-system-alist.) In most cases, this change is 459(See file-coding-system-alist.) In most cases, this change is
459totally transparent. Files that contain unusual characters but do 460totally transparent. Files that contain unusual characters but do