Commit e645e77b authored by Dave Love's avatar Dave Love
Browse files

(jka-compr-load): Fix up load-history.

parent 2995b042
2000-01-30 Dave Love <fx@gnu.org>
* jka-compr.el (jka-compr-load): Fix up load-history.
* emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
* emacs-lisp/cl-macs.el: Revert previous change.
......
......@@ -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))
......
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