From e645e77b4ba808a48885e121a687daad8d981c0c Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sun, 30 Jan 2000 17:52:18 +0000 Subject: (jka-compr-load): Fix up load-history. --- lisp/jka-compr.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lisp/jka-compr.el') 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)) -- cgit v1.2.1