From ea0276309bb2e25a88545f173b6da0141d9950cf Mon Sep 17 00:00:00 2001 From: Bryce <51974245+bryce-carson@users.noreply.github.com> Date: Thu, 1 Sep 2022 21:55:16 -0600 Subject: [PATCH] Fix native-compile-p function (#15718) --- core/core-dumper.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-dumper.el b/core/core-dumper.el index b575b1b7c..7ec66102e 100644 --- a/core/core-dumper.el +++ b/core/core-dumper.el @@ -119,11 +119,11 @@ native compilation is not in effect." (not (spacemacs/emacs-with-native-compilation-enabled-p)))) (defun spacemacs/emacs-with-native-compilation-enabled-p () - "Return non-nill if native compilation is enabled." + "Return non-nil if native compilation is enabled." (and (featurep 'native-compile) - (fboundp 'native-compile-available-p) - (native-compile-available-p) - (not (eql comp-speed -1)))) + (fboundp 'native-comp-available-p) + (native-comp-available-p) + (not (eql native-comp-speed -1)))) (defun spacemacs/dump-modes (modes) "Load given MODES in order to be dumped."