diff options
author | Romain Francoise <romain@orebokech.com> | 2005-10-22 17:34:49 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2005-10-22 17:34:49 +0000 |
commit | e8fbc5e02398f6a00c999efc4d66054b94443d24 (patch) | |
tree | a7b569b649ebeb397dcb4f6f70ebc14fbd725792 /lisp/subr.el | |
parent | 6d1e17be5b0fb57bacb25b7c7708b4b118343761 (diff) | |
download | emacs-e8fbc5e02398f6a00c999efc4d66054b94443d24.tar.gz |
(eval-after-load): Convert library name to an absolute file name using
locate-library, since load-history no longer has library names in it.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." ;; 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) |