From ce11a98b70027462f207aadc59d26ca95ca03325 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 12 May 2021 01:20:41 -0400 Subject: [PATCH] Alias native-comp-* on any Emacs 28+ build Because boundp checks are too fallible as a guard. --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 1037ff8ce..dafff73bf 100644 --- a/core/core.el +++ b/core/core.el @@ -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))))