Fix #5038: renamed comp variables in sandbox loader

This commit is contained in:
Henrik Lissner 2021-05-11 19:25:34 -04:00
parent 6ad4f0698e
commit 54c67eb29e

View file

@ -82,12 +82,16 @@
package-user-dir ,package-user-dir package-user-dir ,package-user-dir
package-archives ',package-archives) package-archives ',package-archives)
;; comp.el ;; comp.el
(if (boundp 'comp-deferred-compilation)
;; REVIEW Remove me after a month
(setq comp-deferred-compilation nil (setq comp-deferred-compilation nil
native-comp-eln-load-path ',(bound-and-true-p native-comp-eln-load-path) comp-deferred-compilation-deny-list ',(bound-and-true-p native-comp-async-env-modifier-form)
native-comp-async-env-modifier-form ',(bound-and-true-p comp-async-env-modifier-form) comp-async-env-modifier-form ',(bound-and-true-p native-comp-async-env-modifier-form)
comp-deferred-compilation-black-list ',(bound-and-true-p comp-deferred-compilation-black-list)
;; REVIEW Remove me after a couple weeks
comp-eln-load-path ',(bound-and-true-p native-comp-eln-load-path)) comp-eln-load-path ',(bound-and-true-p native-comp-eln-load-path))
(setq native-comp-deferred-compilation nil
native-comp-deferred-compilation-deny-list ',(bound-and-true-p native-comp-async-env-modifier-form)
native-comp-async-env-modifier-form ',(bound-and-true-p native-comp-async-env-modifier-form)
native-comp-eln-load-path ',(bound-and-true-p native-comp-eln-load-path)))
;; (add-hook 'kill-emacs-hook ;; (add-hook 'kill-emacs-hook
;; (lambda () ;; (lambda ()
;; (delete-file user-init-file) ;; (delete-file user-init-file)