Fix native-compile-p function (#15718)

This commit is contained in:
Bryce 2022-09-01 21:55:16 -06:00 committed by GitHub
parent 201d22bcc9
commit ea0276309b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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."