diff options
| author | Stefan Monnier | 2013-06-13 18:24:52 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-06-13 18:24:52 -0400 |
| commit | de0503df97a507a523a192e877a8d5c7439c4846 (patch) | |
| tree | 0753a678f85a7ea1a2eb46b81067e8a5d6dfc1e0 /etc | |
| parent | bc5c8c5a6a1956122284468879862b1850dc3b5d (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -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 | ||
| 455 | FIXME - someone who knows what they are talking about, please improve | 455 | +++ |
| 456 | this - 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 |
| 459 | totally transparent. Files that contain unusual characters but do | 460 | totally transparent. Files that contain unusual characters but do |