Fix #4995: adapt to more renamed comp-* symbols
Two more variables were renamed upstream.
This commit is contained in:
parent
5fca440beb
commit
6ad4f0698e
3 changed files with 9 additions and 3 deletions
|
@ -15,6 +15,7 @@ one wants that.")
|
||||||
'(doom-modules
|
'(doom-modules
|
||||||
doom-disabled-packages
|
doom-disabled-packages
|
||||||
comp-deferred-compilation-deny-list
|
comp-deferred-compilation-deny-list
|
||||||
|
native-comp-deferred-compilation-deny-list
|
||||||
load-path
|
load-path
|
||||||
auto-mode-alist
|
auto-mode-alist
|
||||||
interpreter-mode-alist
|
interpreter-mode-alist
|
||||||
|
|
|
@ -153,8 +153,10 @@ users).")
|
||||||
;;
|
;;
|
||||||
;;; Native Compilation support (http://akrl.sdf.org/gccemacs.html)
|
;;; Native Compilation support (http://akrl.sdf.org/gccemacs.html)
|
||||||
|
|
||||||
;; REVIEW Remove me after a couple weeks.
|
;; REVIEW Remove after a couple months
|
||||||
(when (boundp 'comp-eln-load-path)
|
(when (boundp 'comp-deferred-compilation)
|
||||||
|
(defvaralias 'native-comp-deferred-compilation 'comp-deferred-compilation)
|
||||||
|
(defvaralias 'native-comp-deferred-compilation-deny-list 'comp-deferred-compilation-deny-list)
|
||||||
(defvaralias 'native-comp-eln-load-path 'comp-eln-load-path)
|
(defvaralias 'native-comp-eln-load-path 'comp-eln-load-path)
|
||||||
(defvaralias 'native-comp-warning-on-missing-source 'comp-warning-on-missing-source)
|
(defvaralias 'native-comp-warning-on-missing-source 'comp-warning-on-missing-source)
|
||||||
(defvaralias 'native-comp-driver-options 'comp-native-driver-options)
|
(defvaralias 'native-comp-driver-options 'comp-native-driver-options)
|
||||||
|
|
|
@ -11,7 +11,10 @@
|
||||||
;; Prevent unwanted runtime compilation for gccemacs (native-comp) users;
|
;; Prevent unwanted runtime compilation for gccemacs (native-comp) users;
|
||||||
;; packages are compiled ahead-of-time when they are installed and site files
|
;; packages are compiled ahead-of-time when they are installed and site files
|
||||||
;; are compiled when gccemacs is installed.
|
;; are compiled when gccemacs is installed.
|
||||||
|
;; REVIEW Remove after a couple months
|
||||||
|
(if (boundp 'comp-deferred-compilation)
|
||||||
(setq comp-deferred-compilation nil)
|
(setq comp-deferred-compilation nil)
|
||||||
|
(setq native-comp-deferred-compilation nil))
|
||||||
|
|
||||||
;; In noninteractive sessions, prioritize non-byte-compiled source files to
|
;; In noninteractive sessions, prioritize non-byte-compiled source files to
|
||||||
;; prevent the use of stale byte-code. Otherwise, it saves us a little IO time
|
;; prevent the use of stale byte-code. Otherwise, it saves us a little IO time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue