Commit e8fbc5e0 authored by Romain Francoise's avatar Romain Francoise
Browse files

(eval-after-load): Convert library name to an absolute file name using

locate-library, since load-history no longer has library names in it.
parent 6d1e17be
2005-10-22 Romain Francoise <romain@orebokech.com>
* subr.el (eval-after-load): Convert library name to an absolute
file name using locate-library, since load-history no longer has
library names in it.
2005-10-22 Richard M. Stallman <rms@gnu.org>
* files.el (make-temp-file): Moved from subr.el.
* subr.el (make-temp-file): Moved to files.el.
* window.el (get-buffer-window-list): Moved from subr.el.
* subr.el (get-buffer-window-list): Moved to window.el.
......
......@@ -1350,7 +1350,8 @@ evaluated whenever that feature is `provide'd."
;; Make sure `load-history' contains the files dumped with
;; Emacs for the case that FILE is one of them.
;; (load-symbol-file-load-history)
(assoc file load-history))
(when (locate-library file)
(assoc (locate-library file) load-history)))
(eval form))))
form)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment