diff options
| author | Stefan Monnier | 2013-09-16 12:29:46 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-09-16 12:29:46 -0400 |
| commit | 1809eef8b7f87b7d98b414f20ef61608e0582b0d (patch) | |
| tree | 7cdfc6e497c2ee2de48315b12d4b7d7865ed6306 | |
| parent | 1f1e06e2728d2dc8656f4e96aea876ad13916bfa (diff) | |
| download | emacs-1809eef8b7f87b7d98b414f20ef61608e0582b0d.tar.gz emacs-1809eef8b7f87b7d98b414f20ef61608e0582b0d.zip | |
* lisp/subr.el (eval-after-load): Preserve evaluation order.
Fixes: debbugs:15389
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1ea13a9a0be..7cb08cf59ca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * subr.el (eval-after-load): Preserve evaluation order (bug#15389). | ||
| 4 | |||
| 1 | 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329). | 7 | * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329). |
diff --git a/lisp/subr.el b/lisp/subr.el index 0434e3856f9..cf168971812 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1872,7 +1872,7 @@ This function makes or adds to an entry on `after-load-alist'." | |||
| 1872 | nil | 1872 | nil |
| 1873 | (remove-hook 'after-load-functions ',fun) | 1873 | (remove-hook 'after-load-functions ',fun) |
| 1874 | ,',form))) | 1874 | ,',form))) |
| 1875 | (add-hook 'after-load-functions fun)) | 1875 | (add-hook 'after-load-functions fun 'append)) |
| 1876 | ;; Not being provided from a file, run form right now. | 1876 | ;; Not being provided from a file, run form right now. |
| 1877 | ,form))) | 1877 | ,form))) |
| 1878 | ;; Add FORM to the element unless it's already there. | 1878 | ;; Add FORM to the element unless it's already there. |