diff options
author | Dave Love <fx@gnu.org> | 2000-01-30 17:52:18 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-01-30 17:52:18 +0000 |
commit | e645e77b4ba808a48885e121a687daad8d981c0c (patch) | |
tree | 9cadbcb45aaa15057d0af352aa4804b65407954b /lisp/jka-compr.el | |
parent | 2995b042b0aa2b8a320d731b6dceaf731ef8e7c3 (diff) | |
download | emacs-e645e77b4ba808a48885e121a687daad8d981c0c.tar.gz |
(jka-compr-load): Fix up load-history.
Diffstat (limited to 'lisp/jka-compr.el')
-rw-r--r-- | lisp/jka-compr.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index a3fae5b05bc..d18483e7669 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el @@ -704,9 +704,14 @@ There should be no more than seven characters after the final `/'." (let ((load-force-doc-strings t)) (load load-file noerror t t)) - (or nomessage - (message "Loading %s...done." file))) + (message "Loading %s...done." file)) + ;; Fix up the load history to point at the right library. + (let ((l (assoc load-file load-history))) + ;; Remove .gz and .elc?. + (while (file-name-extension file) + (setq file (file-name-sans-extension file))) + (setcar l file))) (jka-compr-delete-temp-file local-copy)) |