1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* A cc-mode fix to be compiled correctly once installed

* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): If cc-mode
	is not compiled during the initial build (read
	NATIVE_FAST_BOOT) it will be when already in el.gz form.
This commit is contained in:
Andrea Corallo 2020-08-23 11:31:31 +02:00
parent 5f5d664c73
commit 6088d19959

View file

@ -286,7 +286,9 @@ perhaps a `cc-bytecomp-restore-environment' is forgotten somewhere"))
(cons cc-file cc-bytecomp-loaded-files))
(cc-bytecomp-debug-msg
"cc-bytecomp-load: Loading %S" cc-file)
(load cc-file nil t t)
;; native-comp may async compile also intalled el.gz
;; files therefore we may have to load here other el.gz.
(load cc-part nil t)
(cc-bytecomp-debug-msg
"cc-bytecomp-load: Loaded %S" cc-file)))
(cc-bytecomp-setup-environment)