mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Alias native-comp-* on any Emacs 28+ build
Because boundp checks are too fallible as a guard.
This commit is contained in:
@ -154,7 +154,7 @@ users).")
|
||||
;;; Native Compilation support (http://akrl.sdf.org/gccemacs.html)
|
||||
|
||||
;; REVIEW Remove after a month
|
||||
(when (boundp 'comp-deferred-compilation)
|
||||
(when EMACS28+
|
||||
(mapc (lambda (varset)
|
||||
(unless (boundp (car varset))
|
||||
(defvaralias (car varset) (cdr varset))))
|
||||
|
Reference in New Issue
Block a user