Alias native-comp-* on any Emacs 28+ build

Because boundp checks are too fallible as a guard.
This commit is contained in:
Henrik Lissner 2021-05-12 01:20:41 -04:00
parent b7a199046d
commit ce11a98b70

View file

@ -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))))