Fix #4995: adapt to more renamed comp-* symbols
Two more variables were renamed upstream.
This commit is contained in:
parent
5fca440beb
commit
6ad4f0698e
|
@ -15,6 +15,7 @@ one wants that.")
|
|||
'(doom-modules
|
||||
doom-disabled-packages
|
||||
comp-deferred-compilation-deny-list
|
||||
native-comp-deferred-compilation-deny-list
|
||||
load-path
|
||||
auto-mode-alist
|
||||
interpreter-mode-alist
|
||||
|
|
|
@ -153,8 +153,10 @@ users).")
|
|||
;;
|
||||
;;; Native Compilation support (http://akrl.sdf.org/gccemacs.html)
|
||||
|
||||
;; REVIEW Remove me after a couple weeks.
|
||||
(when (boundp 'comp-eln-load-path)
|
||||
;; REVIEW Remove after a couple months
|
||||
(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-warning-on-missing-source 'comp-warning-on-missing-source)
|
||||
(defvaralias 'native-comp-driver-options 'comp-native-driver-options)
|
||||
|
|
|
@ -11,7 +11,10 @@
|
|||
;; Prevent unwanted runtime compilation for gccemacs (native-comp) users;
|
||||
;; packages are compiled ahead-of-time when they are installed and site files
|
||||
;; are compiled when gccemacs is installed.
|
||||
(setq comp-deferred-compilation nil)
|
||||
;; REVIEW Remove after a couple months
|
||||
(if (boundp 'comp-deferred-compilation)
|
||||
(setq comp-deferred-compilation nil)
|
||||
(setq native-comp-deferred-compilation nil))
|
||||
|
||||
;; 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user