diff options
| author | Romain Francoise | 2005-10-22 17:34:49 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-10-22 17:34:49 +0000 |
| commit | e8fbc5e02398f6a00c999efc4d66054b94443d24 (patch) | |
| tree | a7b569b649ebeb397dcb4f6f70ebc14fbd725792 | |
| parent | 6d1e17be5b0fb57bacb25b7c7708b4b118343761 (diff) | |
| download | emacs-e8fbc5e02398f6a00c999efc4d66054b94443d24.tar.gz emacs-e8fbc5e02398f6a00c999efc4d66054b94443d24.zip | |
(eval-after-load): Convert library name to an absolute file name using
locate-library, since load-history no longer has library names in it.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/subr.el | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fed628ba939..4276c2b5363 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,8 +1,14 @@ | |||
| 1 | 2005-10-22 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * subr.el (eval-after-load): Convert library name to an absolute | ||
| 4 | file name using locate-library, since load-history no longer has | ||
| 5 | library names in it. | ||
| 6 | |||
| 1 | 2005-10-22 Richard M. Stallman <rms@gnu.org> | 7 | 2005-10-22 Richard M. Stallman <rms@gnu.org> |
| 2 | 8 | ||
| 3 | * files.el (make-temp-file): Moved from subr.el. | 9 | * files.el (make-temp-file): Moved from subr.el. |
| 4 | * subr.el (make-temp-file): Moved to files.el. | 10 | * subr.el (make-temp-file): Moved to files.el. |
| 5 | 11 | ||
| 6 | * window.el (get-buffer-window-list): Moved from subr.el. | 12 | * window.el (get-buffer-window-list): Moved from subr.el. |
| 7 | * subr.el (get-buffer-window-list): Moved to window.el. | 13 | * subr.el (get-buffer-window-list): Moved to window.el. |
| 8 | 14 | ||
diff --git a/lisp/subr.el b/lisp/subr.el index 5c662e9524d..04b36897f39 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1350,7 +1350,8 @@ evaluated whenever that feature is `provide'd." | |||
| 1350 | ;; Make sure `load-history' contains the files dumped with | 1350 | ;; Make sure `load-history' contains the files dumped with |
| 1351 | ;; Emacs for the case that FILE is one of them. | 1351 | ;; Emacs for the case that FILE is one of them. |
| 1352 | ;; (load-symbol-file-load-history) | 1352 | ;; (load-symbol-file-load-history) |
| 1353 | (assoc file load-history)) | 1353 | (when (locate-library file) |
| 1354 | (assoc (locate-library file) load-history))) | ||
| 1354 | (eval form)))) | 1355 | (eval form)))) |
| 1355 | form) | 1356 | form) |
| 1356 | 1357 | ||